Enum nannou::ui::backend::glium::glium::index::IndexType [−][src]
#[repr(u32)]pub enum IndexType { U8, U16, U32, }
Type of the indices in an index source.
Variants
U8
u8
U16
u16
U32
u32
Methods
impl IndexType
[src]
impl IndexType
pub fn get_size(&self) -> usize
[src]
pub fn get_size(&self) -> usize
Returns the size in bytes of each index of this type.
pub fn is_supported<C>(&self, caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
[src]
pub fn is_supported<C>(&self, caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
Returns true if the backend supports this type of index.
Trait Implementations
impl Clone for IndexType
[src]
impl Clone for IndexType
fn clone(&self) -> IndexType
[src]
fn clone(&self) -> IndexType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for IndexType
[src]
impl Debug for IndexType
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for IndexType
[src]
impl Copy for IndexType
impl Eq for IndexType
[src]
impl Eq for IndexType
impl PartialEq<IndexType> for IndexType
[src]
impl PartialEq<IndexType> for IndexType