pub struct VertexBufferLayout { /* private fields */ }Expand description
Wraps the corresponding Model I/O vertex buffer layout counterpart.
Implementations§
Source§impl VertexBufferLayout
impl VertexBufferLayout
Sourcepub fn new(stride: usize) -> Result<Self>
pub fn new(stride: usize) -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O vertex buffer layout counterpart.
Sourcepub fn stride(&self) -> usize
pub fn stride(&self) -> usize
Calls the corresponding Model I/O method on the wrapped Model I/O vertex buffer layout counterpart.
Sourcepub fn set_stride(&self, stride: usize)
pub fn set_stride(&self, stride: usize)
Calls the corresponding Model I/O method on the wrapped Model I/O vertex buffer layout counterpart.
Trait Implementations§
Source§impl Clone for VertexBufferLayout
impl Clone for VertexBufferLayout
Source§fn clone(&self) -> VertexBufferLayout
fn clone(&self) -> VertexBufferLayout
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 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