Enum glfw::OpenGlProfileHint
source · #[repr(i32)]pub enum OpenGlProfileHint {
Any = 0,
Core = 204_801,
Compat = 204_802,
}
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 for OpenGlProfileHint
impl PartialEq 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 for OpenGlProfileHint
impl PartialOrd 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 moreimpl Copy for OpenGlProfileHint
impl Eq for OpenGlProfileHint
impl StructuralPartialEq for OpenGlProfileHint
Auto Trait Implementations§
impl RefUnwindSafe for OpenGlProfileHint
impl Send for OpenGlProfileHint
impl Sync for OpenGlProfileHint
impl Unpin for OpenGlProfileHint
impl UnwindSafe for OpenGlProfileHint
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more