Enum glfw::ContextRobustnessHint
source · #[repr(i32)]pub enum ContextRobustnessHint {
NoRobustness = 0,
NoResetNotification = 200_705,
LoseContextOnReset = 200_706,
}
Expand description
Context robustness tokens.
Variants§
Trait Implementations§
source§impl Clone for ContextRobustnessHint
impl Clone for ContextRobustnessHint
source§fn clone(&self) -> ContextRobustnessHint
fn clone(&self) -> ContextRobustnessHint
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 ContextRobustnessHint
impl Debug for ContextRobustnessHint
source§impl Hash for ContextRobustnessHint
impl Hash for ContextRobustnessHint
source§impl Ord for ContextRobustnessHint
impl Ord for ContextRobustnessHint
source§fn cmp(&self, other: &ContextRobustnessHint) -> Ordering
fn cmp(&self, other: &ContextRobustnessHint) -> 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 ContextRobustnessHint
impl PartialEq for ContextRobustnessHint
source§fn eq(&self, other: &ContextRobustnessHint) -> bool
fn eq(&self, other: &ContextRobustnessHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ContextRobustnessHint
impl PartialOrd for ContextRobustnessHint
source§fn partial_cmp(&self, other: &ContextRobustnessHint) -> Option<Ordering>
fn partial_cmp(&self, other: &ContextRobustnessHint) -> 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 ContextRobustnessHint
impl Eq for ContextRobustnessHint
impl StructuralPartialEq for ContextRobustnessHint
Auto Trait Implementations§
impl RefUnwindSafe for ContextRobustnessHint
impl Send for ContextRobustnessHint
impl Sync for ContextRobustnessHint
impl Unpin for ContextRobustnessHint
impl UnwindSafe for ContextRobustnessHint
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