Struct lambda_platform::gfx::assembler::VertexElement
source · 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> PartialEq<Element<F>> for Element<F>where
F: PartialEq<F>,
impl<F> PartialEq<Element<F>> for Element<F>where
F: PartialEq<F>,
source§impl<F> PartialOrd<Element<F>> for Element<F>where
F: PartialOrd<F>,
impl<F> PartialOrd<Element<F>> for Element<F>where
F: PartialOrd<F>,
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 more