#[repr(transparent)]pub struct CGLContextEnable(pub c_uint);
👎Deprecated: The OpenGL API is deprecated by Apple
Available on crate feature
CGLTypes
only.Expand description
Tuple Fields§
§0: c_uint
👎Deprecated: The OpenGL API is deprecated by Apple
Implementations§
Source§impl CGLContextEnable
impl CGLContextEnable
pub const CGLCESwapRectangle: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCESwapLimit: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCERasterization: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCEStateValidation: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCESurfaceBackingSize: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCEDisplayListOptimization: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCEMPEngine: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCECrashOnRemovedFunctions: Self
👎Deprecated: The OpenGL API is deprecated by Apple
Trait Implementations§
Source§impl Clone for CGLContextEnable
impl Clone for CGLContextEnable
Source§fn clone(&self) -> CGLContextEnable
fn clone(&self) -> CGLContextEnable
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 CGLContextEnable
impl Debug for CGLContextEnable
Source§impl Encode for CGLContextEnable
impl Encode for CGLContextEnable
Source§impl Hash for CGLContextEnable
impl Hash for CGLContextEnable
Source§impl Ord for CGLContextEnable
impl Ord for CGLContextEnable
Source§fn cmp(&self, other: &CGLContextEnable) -> Ordering
fn cmp(&self, other: &CGLContextEnable) -> 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 CGLContextEnable
impl PartialEq for CGLContextEnable
Source§impl PartialOrd for CGLContextEnable
impl PartialOrd for CGLContextEnable
Source§impl RefEncode for CGLContextEnable
impl RefEncode for CGLContextEnable
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CGLContextEnable
impl Eq for CGLContextEnable
impl StructuralPartialEq for CGLContextEnable
Auto Trait Implementations§
impl Freeze for CGLContextEnable
impl RefUnwindSafe for CGLContextEnable
impl Send for CGLContextEnable
impl Sync for CGLContextEnable
impl Unpin for CGLContextEnable
impl UnwindSafe for CGLContextEnable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.