pub struct ComputeProgramDesc {
pub label: Option<String>,
pub shader: String,
pub entry: String,
pub bind_groups: Vec<BindGroupLayoutSpec>,
}Fields§
§label: Option<String>§shader: String§entry: String§bind_groups: Vec<BindGroupLayoutSpec>Trait Implementations§
Source§impl Clone for ComputeProgramDesc
impl Clone for ComputeProgramDesc
Source§fn clone(&self) -> ComputeProgramDesc
fn clone(&self) -> ComputeProgramDesc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ComputeProgramDesc
impl RefUnwindSafe for ComputeProgramDesc
impl Send for ComputeProgramDesc
impl Sync for ComputeProgramDesc
impl Unpin for ComputeProgramDesc
impl UnsafeUnpin for ComputeProgramDesc
impl UnwindSafe for ComputeProgramDesc
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