pub struct VertexLayout {
pub attributes: Vec<VertexAttribute>,
}Expand description
A vertex layout describing how vertex data is organized.
Fields§
§attributes: Vec<VertexAttribute>Implementations§
Trait 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
Auto Trait Implementations§
impl Freeze for VertexLayout
impl RefUnwindSafe for VertexLayout
impl Send for VertexLayout
impl Sync for VertexLayout
impl Unpin for VertexLayout
impl UnsafeUnpin 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