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
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Compare self to key
and return true
if they are equal.