Struct lambda::render::vertex::VertexElement
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§
§impl<F> Ord for Element<F>where
F: Ord,
impl<F> Ord for Element<F>where
F: Ord,
§impl<F> PartialEq<Element<F>> for Element<F>where
F: PartialEq<F>,
impl<F> PartialEq<Element<F>> for Element<F>where
F: PartialEq<F>,
§impl<F> PartialOrd<Element<F>> for Element<F>where
F: PartialOrd<F>,
impl<F> PartialOrd<Element<F>> for Element<F>where
F: PartialOrd<F>,
§fn partial_cmp(&self, other: &Element<F>) -> Option<Ordering>
fn partial_cmp(&self, other: &Element<F>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<F> Copy for Element<F>where
F: Copy,
impl<F> Eq for Element<F>where
F: Eq,
impl<F> StructuralEq for Element<F>
impl<F> StructuralPartialEq for Element<F>
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.