pub struct GlContextFlags(/* private fields */);Implementations§
Source§impl GlContextFlags
impl GlContextFlags
pub const DEBUG: Self
pub const FORWARD_COMPATIBLE: Self
pub const ROBUST_ACCESS: Self
pub const RESET_ISOLATION: Self
Trait Implementations§
Source§impl BitOr for GlContextFlags
impl BitOr for GlContextFlags
Source§impl BitOrAssign for GlContextFlags
impl BitOrAssign for GlContextFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for GlContextFlags
impl Clone for GlContextFlags
Source§fn clone(&self) -> GlContextFlags
fn clone(&self) -> GlContextFlags
Returns a duplicate 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 GlContextFlags
impl Debug for GlContextFlags
Source§impl Default for GlContextFlags
impl Default for GlContextFlags
Source§fn default() -> GlContextFlags
fn default() -> GlContextFlags
Returns the “default value” for a type. Read more
Source§impl Hash for GlContextFlags
impl Hash for GlContextFlags
Source§impl Ord for GlContextFlags
impl Ord for GlContextFlags
Source§fn cmp(&self, other: &GlContextFlags) -> Ordering
fn cmp(&self, other: &GlContextFlags) -> 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 GlContextFlags
impl PartialEq for GlContextFlags
Source§impl PartialOrd for GlContextFlags
impl PartialOrd for GlContextFlags
impl Copy for GlContextFlags
impl Eq for GlContextFlags
impl StructuralPartialEq for GlContextFlags
Auto Trait Implementations§
impl Freeze for GlContextFlags
impl RefUnwindSafe for GlContextFlags
impl Send for GlContextFlags
impl Sync for GlContextFlags
impl Unpin for GlContextFlags
impl UnwindSafe for GlContextFlags
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