[][src]Enum azul_core::gl::IndexBufferFormat

pub enum IndexBufferFormat {
    Points,
    Lines,
    LineStrip,
    Triangles,
    TriangleStrip,
    TriangleFan,
}

Variants

Points
Lines
LineStrip
Triangles
TriangleStrip
TriangleFan

Implementations

impl IndexBufferFormat[src]

pub fn get_gl_id(&self) -> GLuint[src]

Returns the gl::TRIANGLE_STRIP / gl::POINTS, etc.

Trait Implementations

impl Clone for IndexBufferFormat[src]

impl Copy for IndexBufferFormat[src]

impl Debug for IndexBufferFormat[src]

impl Eq for IndexBufferFormat[src]

impl Hash for IndexBufferFormat[src]

impl Ord for IndexBufferFormat[src]

impl PartialEq<IndexBufferFormat> for IndexBufferFormat[src]

impl PartialOrd<IndexBufferFormat> for IndexBufferFormat[src]

impl StructuralEq for IndexBufferFormat[src]

impl StructuralPartialEq for IndexBufferFormat[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.