pub struct VertexBufferLayout {
pub buffer_id: usize,
pub vertex_attributes: Vec<VertexAttributeDesc>,
pub stride: usize,
pub divisor: usize,
}
Fields§
§buffer_id: usize
§vertex_attributes: Vec<VertexAttributeDesc>
§stride: usize
§divisor: usize
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 · 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 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