[][src]Enum phosphorus::ApiGroup

pub enum ApiGroup {
    Gl,
    Gles1,
    Gles2,
    Glsc2,
}

The broad API groups.

Variants

Gl

OpenGL

Gles1

OpenGL ES 1

Gles2

OpenGL ES 2 (and also 3)

Glsc2

OpenGL SC

Implementations

impl ApiGroup[src]

pub fn supported(&self) -> &'static str[src]

The "supported" string for this api group, as used by extension entries.

Trait Implementations

impl Clone for ApiGroup[src]

impl Copy for ApiGroup[src]

impl Debug for ApiGroup[src]

impl Default for ApiGroup[src]

impl Eq for ApiGroup[src]

impl<'_> From<&'_ str> for ApiGroup[src]

impl PartialEq<ApiGroup> for ApiGroup[src]

impl StructuralEq for ApiGroup[src]

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