Enum sdl2::video::GLProfile
[−]
[src]
pub enum GLProfile { Core, Compatibility, GLES, Unknown(i32), }
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
Unknown(i32)
Unknown profile - SDL will tend to return 0 if you ask when no particular profile has been defined or requested.
Trait Implementations
impl Copy for GLProfile
[src]
impl Clone for GLProfile
[src]
fn clone(&self) -> GLProfile
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for GLProfile
[src]
impl PartialEq for GLProfile
[src]
fn eq(&self, __arg_0: &GLProfile) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GLProfile) -> bool
[src]
This method tests for !=
.
impl Hash for GLProfile
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more