pub struct VertexAttrDescriptor {
pub size: usize,
pub class: VertexAttrClass,
pub attr_type: VertexAttrType,
pub stride: usize,
pub offset: usize,
pub divisor: u32,
pub buffer_index: u32,
}
Fields§
§size: usize
§class: VertexAttrClass
§attr_type: VertexAttrType
§stride: usize
§offset: usize
§divisor: u32
§buffer_index: u32
Trait Implementations§
Source§impl Clone for VertexAttrDescriptor
impl Clone for VertexAttrDescriptor
Source§fn clone(&self) -> VertexAttrDescriptor
fn clone(&self) -> VertexAttrDescriptor
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 moreSource§impl Debug for VertexAttrDescriptor
impl Debug for VertexAttrDescriptor
impl Copy for VertexAttrDescriptor
Auto Trait Implementations§
impl Freeze for VertexAttrDescriptor
impl RefUnwindSafe for VertexAttrDescriptor
impl Send for VertexAttrDescriptor
impl Sync for VertexAttrDescriptor
impl Unpin for VertexAttrDescriptor
impl UnwindSafe for VertexAttrDescriptor
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