Enum glfw::ContextRobustnessHint
source · #[repr(i32)]
pub enum ContextRobustnessHint {
NoRobustness,
NoResetNotification,
LoseContextOnReset,
}
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<ContextRobustnessHint> for ContextRobustnessHint
impl PartialEq<ContextRobustnessHint> 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<ContextRobustnessHint> for ContextRobustnessHint
impl PartialOrd<ContextRobustnessHint> 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 more