pub struct VertexBufferLayout {
pub step_mode: Option<VertexStepMode>,
pub array_stride: Option<u64>,
pub attributes: Option<Vec<VertexAttribute>>,
/* private fields */
}Fields§
§step_mode: Option<VertexStepMode>§array_stride: Option<u64>§attributes: Option<Vec<VertexAttribute>>Implementations§
Source§impl VertexBufferLayout
impl VertexBufferLayout
pub fn new() -> Self
pub fn with_extension(self, extension: VertexBufferLayoutExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VertexBufferLayout
impl RefUnwindSafe for VertexBufferLayout
impl Send for VertexBufferLayout
impl Sync for VertexBufferLayout
impl Unpin for VertexBufferLayout
impl UnsafeUnpin for VertexBufferLayout
impl UnwindSafe for VertexBufferLayout
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