Enum nannou::wgpu::VertexStepMode [−]
#[repr(C)]
pub enum VertexStepMode {
Vertex,
Instance,
}
Expand description
Rate that determines when vertex data is advanced.
Variants
Vertex
Vertex data is advanced every vertex.
Instance
Vertex data is advanced every instance.
Trait Implementations
impl Clone for VertexStepMode
impl Clone for VertexStepMode
pub fn clone(&self) -> VertexStepMode
pub fn clone(&self) -> VertexStepMode
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for VertexStepMode
impl Debug for VertexStepMode
impl Default for VertexStepMode
impl Default for VertexStepMode
pub fn default() -> VertexStepMode
pub fn default() -> VertexStepMode
Returns the “default value” for a type. Read more
impl Hash for VertexStepMode
impl Hash for VertexStepMode
impl PartialEq<VertexStepMode> for VertexStepMode
impl PartialEq<VertexStepMode> for VertexStepMode
impl Copy for VertexStepMode
impl Eq for VertexStepMode
impl StructuralEq for VertexStepMode
impl StructuralPartialEq for VertexStepMode
Auto Trait Implementations
impl RefUnwindSafe for VertexStepMode
impl Send for VertexStepMode
impl Sync for VertexStepMode
impl Unpin for VertexStepMode
impl UnwindSafe for VertexStepMode
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more
Compare self to key
and return true
if they are equal.