Enum glutin::GlProfile [] [src]

pub enum GlProfile {
    Compatibility,
    Core,
}

Describes the requested OpenGL context profiles.

Variants

Compatibility

Include all the immediate more functions and definitions.

Core

Include all the future-compatible functions and definitions.

Trait Implementations

impl Eq for GlProfile
[src]

impl PartialEq for GlProfile
[src]

fn eq(&self, __arg_0: &GlProfile) -> 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 GlProfile
[src]

impl Clone for GlProfile
[src]

fn clone(&self) -> GlProfile

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 GlProfile
[src]

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

Formats the value using the given formatter.