pub struct VertexState {
pub module: Option<ShaderModule>,
pub entry_point: Option<String>,
pub constants: Option<Vec<ConstantEntry>>,
pub buffers: Option<Vec<VertexBufferLayout>>,
/* private fields */
}Fields§
§module: Option<ShaderModule>§entry_point: Option<String>§constants: Option<Vec<ConstantEntry>>§buffers: Option<Vec<VertexBufferLayout>>Implementations§
Source§impl VertexState
impl VertexState
pub fn new() -> Self
pub fn with_extension(self, extension: VertexStateExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VertexState
impl RefUnwindSafe for VertexState
impl Send for VertexState
impl Sync for VertexState
impl Unpin for VertexState
impl UnsafeUnpin for VertexState
impl UnwindSafe for VertexState
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