Enum sdl2::video::GLProfile [] [src]

pub enum GLProfile {
    Core,
    Compatibility,
    GLES,
}

Variants

Core

OpenGL core profile - deprecated functions are disabled

Compatibility

OpenGL compatibility profile - deprecated functions are allowed

GLES

OpenGL ES profile - only a subset of the base OpenGL functionality is available

Trait Implementations

Derived Implementations

impl Debug for GLProfile

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

impl Hash for GLProfile

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for GLProfile

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

fn ne(&self, __arg_0: &GLProfile) -> bool

impl Eq for GLProfile

impl Clone for GLProfile

fn clone(&self) -> GLProfile

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

impl Copy for GLProfile