pub struct VertexElement<F> {
pub format: F,
pub offset: u32,
}
Expand description
A struct element descriptor.
Fields§
§format: F
Element format
offset: u32
Offset from the beginning of the container, in bytes
Trait Implementations§
Source§impl<F> Ord for Element<F>where
F: Ord,
impl<F> Ord for Element<F>where
F: Ord,
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<F> PartialOrd for Element<F>where
F: PartialOrd,
impl<F> PartialOrd for Element<F>where
F: PartialOrd,
impl<F> Copy for Element<F>where
F: Copy,
impl<F> Eq for Element<F>where
F: Eq,
impl<F> StructuralPartialEq for Element<F>
Auto Trait Implementations§
impl<F> Freeze for Element<F>where
F: Freeze,
impl<F> RefUnwindSafe for Element<F>where
F: RefUnwindSafe,
impl<F> Send for Element<F>where
F: Send,
impl<F> Sync for Element<F>where
F: Sync,
impl<F> Unpin for Element<F>where
F: Unpin,
impl<F> UnwindSafe for Element<F>where
F: UnwindSafe,
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.