Enum glutin::Api [] [src]

pub enum Api {
    OpenGl,
    OpenGlEs,
    WebGl,
}

All APIs related to OpenGL that you can possibly get while using glutin.

Variants

OpenGl

The classical OpenGL. Available on Windows, Linux, OS/X.

OpenGlEs

OpenGL embedded system. Available on Linux, Android.

WebGl

OpenGL for the web. Very similar to OpenGL ES.

Trait Implementations

impl Eq for Api
[src]

impl PartialEq for Api
[src]

fn eq(&self, __arg_0: &Api) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Copy for Api
[src]

impl Clone for Api
[src]

fn clone(&self) -> Api

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Api
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.