Enum nannou::wgpu::IndexFormat [−]
#[repr(C)] pub enum IndexFormat { Uint16, Uint32, }
Expand description
Format of indices used with pipeline.
Variants
Indices are 16 bit unsigned integers.
Indices are 32 bit unsigned integers.
Trait Implementations
impl Clone for IndexFormat
impl Clone for IndexFormat
pub fn clone(&self) -> IndexFormat
pub fn clone(&self) -> IndexFormat
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for IndexFormat
impl Debug for IndexFormat
impl Default for IndexFormat
impl Default for IndexFormat
pub fn default() -> IndexFormat
pub fn default() -> IndexFormat
Returns the “default value” for a type. Read more
impl Hash for IndexFormat
impl Hash for IndexFormat
impl PartialEq<IndexFormat> for IndexFormat
impl PartialEq<IndexFormat> for IndexFormat
impl Copy for IndexFormat
impl Eq for IndexFormat
impl StructuralEq for IndexFormat
impl StructuralPartialEq for IndexFormat
Auto Trait Implementations
impl RefUnwindSafe for IndexFormat
impl Send for IndexFormat
impl Sync for IndexFormat
impl Unpin for IndexFormat
impl UnwindSafe for IndexFormat
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
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.
pub fn vzip(self) -> V