pub enum IndexType {
U8 = 5_121,
U16 = 5_123,
U32 = 5_125,
}
Expand description
The index data type.
Variants§
U8 = 5_121
Corresponds to GL_UNSIGNED_BYTE
.
U16 = 5_123
Corresponds to GL_UNSIGNED_SHORT
.
U32 = 5_125
Corresponds to GL_UNSIGNED_INT
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexType
impl RefUnwindSafe for IndexType
impl Send for IndexType
impl Sync for IndexType
impl Unpin for IndexType
impl UnwindSafe for IndexType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more