Enum glfw::OpenGlProfileHint
source · #[repr(i32)]
pub enum OpenGlProfileHint {
Any,
Core,
Compat,
}
Expand description
OpenGL profile tokens.
Variants§
Trait Implementations§
source§impl Clone for OpenGlProfileHint
impl Clone for OpenGlProfileHint
source§fn clone(&self) -> OpenGlProfileHint
fn clone(&self) -> OpenGlProfileHint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OpenGlProfileHint
impl Debug for OpenGlProfileHint
source§impl Hash for OpenGlProfileHint
impl Hash for OpenGlProfileHint
source§impl Ord for OpenGlProfileHint
impl Ord for OpenGlProfileHint
source§fn cmp(&self, other: &OpenGlProfileHint) -> Ordering
fn cmp(&self, other: &OpenGlProfileHint) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<OpenGlProfileHint> for OpenGlProfileHint
impl PartialEq<OpenGlProfileHint> for OpenGlProfileHint
source§fn eq(&self, other: &OpenGlProfileHint) -> bool
fn eq(&self, other: &OpenGlProfileHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OpenGlProfileHint> for OpenGlProfileHint
impl PartialOrd<OpenGlProfileHint> for OpenGlProfileHint
source§fn partial_cmp(&self, other: &OpenGlProfileHint) -> Option<Ordering>
fn partial_cmp(&self, other: &OpenGlProfileHint) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more