pub struct BufferLayout {
pub stride: i32,
pub step_func: VertexStep,
pub step_rate: i32,
}
Fields
stride: i32
step_func: VertexStep
step_rate: i32
Trait Implementations
sourceimpl Clone for BufferLayout
impl Clone for BufferLayout
sourcefn clone(&self) -> BufferLayout
fn clone(&self) -> BufferLayout
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BufferLayout
impl Debug for BufferLayout
sourceimpl Default for BufferLayout
impl Default for BufferLayout
sourcefn default() -> BufferLayout
fn default() -> BufferLayout
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BufferLayout
impl Send for BufferLayout
impl Sync for BufferLayout
impl Unpin for BufferLayout
impl UnwindSafe for BufferLayout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more