pub struct VertexLayout {
pub attributes: Vec<(&'static str, VertexAttribute)>,
pub stride: u32,
}Fields§
§attributes: Vec<(&'static str, VertexAttribute)>§stride: u32Trait Implementations§
Source§impl Clone for VertexLayout
impl Clone for VertexLayout
Source§fn clone(&self) -> VertexLayout
fn clone(&self) -> VertexLayout
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 VertexLayout
impl Debug for VertexLayout
Source§impl Default for VertexLayout
impl Default for VertexLayout
Source§fn default() -> VertexLayout
fn default() -> VertexLayout
Returns the “default value” for a type. Read more
Source§impl PartialEq for VertexLayout
impl PartialEq for VertexLayout
impl StructuralPartialEq for VertexLayout
Auto Trait Implementations§
impl Freeze for VertexLayout
impl RefUnwindSafe for VertexLayout
impl Send for VertexLayout
impl Sync for VertexLayout
impl Unpin for VertexLayout
impl UnwindSafe for VertexLayout
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