pub struct VertexLayout {
pub fields: Vec<VertexAttribute>,
}
Expand description
Describes the vertex layout and offsets
Fields§
§fields: 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 copy 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 Hash for VertexLayout
impl Hash for VertexLayout
Source§impl Ord for VertexLayout
impl Ord for VertexLayout
Source§fn cmp(&self, other: &VertexLayout) -> Ordering
fn cmp(&self, other: &VertexLayout) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VertexLayout
impl PartialEq for VertexLayout
Source§impl PartialOrd for VertexLayout
impl PartialOrd for VertexLayout
impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)