Enum storm::graphics::IndiceType
source · [−]#[repr(u32)]
pub enum IndiceType {
UnsignedByte,
UnsignedShort,
UnsignedInt,
}
Expand description
Specifies the type of an indice used in element array buffers.
Variants
UnsignedByte
Represents a u8.
UnsignedShort
Represents a u16.
UnsignedInt
Represents a u32.
Trait Implementations
sourceimpl Clone for IndiceType
impl Clone for IndiceType
sourcefn clone(&self) -> IndiceType
fn clone(&self) -> IndiceType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IndiceType
impl Debug for IndiceType
sourceimpl PartialEq<IndiceType> for IndiceType
impl PartialEq<IndiceType> for IndiceType
impl Copy for IndiceType
impl StructuralPartialEq for IndiceType
Auto Trait Implementations
impl RefUnwindSafe for IndiceType
impl Send for IndiceType
impl Sync for IndiceType
impl Unpin for IndiceType
impl UnwindSafe for IndiceType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more