pub struct ProgrammableStage {
pub module: Id,
pub entry_point: Option<String>,
pub constants: Vec<(String, f64)>,
pub zero_initialize_workgroup_memory: bool,
}Fields§
§module: Id§entry_point: Option<String>§constants: Vec<(String, f64)>§zero_initialize_workgroup_memory: boolTrait Implementations§
Source§impl Clone for ProgrammableStage
impl Clone for ProgrammableStage
Source§fn clone(&self) -> ProgrammableStage
fn clone(&self) -> ProgrammableStage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgrammableStage
impl Debug for ProgrammableStage
Source§impl<'de> Deserialize<'de> for ProgrammableStage
impl<'de> Deserialize<'de> for ProgrammableStage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProgrammableStage
impl RefUnwindSafe for ProgrammableStage
impl Send for ProgrammableStage
impl Sync for ProgrammableStage
impl Unpin for ProgrammableStage
impl UnsafeUnpin for ProgrammableStage
impl UnwindSafe for ProgrammableStage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more