Enum solstice::vertex::AttributeType[][src]

pub enum AttributeType {
    F32,
    F32F32,
    F32F32F32,
    F32F32F32F32,
    F32x2x2,
    F32x3x3,
    F32x4x4,
    I32,
    I32I32,
    I32I32I32,
    I32I32I32I32,
}

Variants

F32
F32F32
F32F32F32
F32F32F32F32
F32x2x2
F32x3x3
F32x4x4
I32
I32I32
I32I32I32
I32I32I32I32

Implementations

impl AttributeType[src]

pub fn get_size_bytes(self) -> usize[src]

pub fn get_num_components(self) -> usize[src]

pub fn to_gl(self) -> (u32, i32, i32)[src]

Trait Implementations

impl Clone for AttributeType[src]

impl Copy for AttributeType[src]

impl Debug for AttributeType[src]

impl Eq for AttributeType[src]

impl PartialEq<AttributeType> for AttributeType[src]

impl StructuralEq for AttributeType[src]

impl StructuralPartialEq for AttributeType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.