pub struct MeshState<'a, SM = Arc<ShaderModule>> {
pub stage: ProgrammableStageDescriptor<'a, SM>,
}Expand description
Describes the mesh shader in a mesh shader pipeline.
Fields§
§stage: ProgrammableStageDescriptor<'a, SM>The compiled mesh stage and its entry point.
Trait Implementations§
Source§impl<'de, 'a, SM> Deserialize<'de> for MeshState<'a, SM>where
SM: Deserialize<'de>,
Available on crate feature serde only.
impl<'de, 'a, SM> Deserialize<'de> for MeshState<'a, SM>where
SM: Deserialize<'de>,
Available on crate feature
serde only.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<'a, SM> Forget for MeshState<'a, SM>
impl<'a, SM> Freeze for MeshState<'a, SM>
impl<'a, SM> Move for MeshState<'a, SM>
impl<'a, SM> RefUnwindSafe for MeshState<'a, SM>
impl<'a, SM> Send for MeshState<'a, SM>
impl<'a, SM> Sync for MeshState<'a, SM>
impl<'a, SM> Unpin for MeshState<'a, SM>
impl<'a, SM> UnsafeUnpin for MeshState<'a, SM>where
SM: UnsafeUnpin,
&'a str: UnsafeUnpin,
String: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, f64)>: UnsafeUnpin,
impl<'a, SM> UnwindSafe for MeshState<'a, SM>where
SM: UnwindSafe,
&'a str: UnwindSafe,
String: UnwindSafe,
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
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