pub type ResolvedVertexState<'a> = VertexState<'a, Arc<ShaderModule>>;
Expand description
cbindgen:ignore
Aliased Type§
struct ResolvedVertexState<'a> {
pub stage: ProgrammableStageDescriptor<'a, Arc<ShaderModule>>,
pub buffers: Cow<'a, [VertexBufferLayout<'a>]>,
}
Fields§
§stage: ProgrammableStageDescriptor<'a, Arc<ShaderModule>>
The compiled vertex stage and its entry point.
buffers: Cow<'a, [VertexBufferLayout<'a>]>
The format of any vertex buffers used with this pipeline.
Trait Implementations
Source§impl<'a, SM: Clone> Clone for VertexState<'a, SM>
impl<'a, SM: Clone> Clone for VertexState<'a, SM>
Source§fn clone(&self) -> VertexState<'a, SM>
fn clone(&self) -> VertexState<'a, SM>
Returns a copy 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<'a, SM: Debug> Debug for VertexState<'a, SM>
impl<'a, SM: Debug> Debug for VertexState<'a, SM>
Source§impl<'de, 'a, SM> Deserialize<'de> for VertexState<'a, SM>where
SM: Deserialize<'de>,
impl<'de, 'a, SM> Deserialize<'de> for VertexState<'a, SM>where
SM: Deserialize<'de>,
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