#[repr(transparent)]pub struct CGLContextParameter(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 CGLContextParameter
impl CGLContextParameter
pub const CGLCPSwapRectangle: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPSwapInterval: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPDispatchTableSize: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPClientStorage: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPSurfaceTexture: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPSurfaceOrder: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPSurfaceOpacity: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPSurfaceBackingSize: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPSurfaceSurfaceVolatile: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPReclaimResources: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPCurrentRendererID: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPGPUVertexProcessing: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPGPUFragmentProcessing: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPHasDrawable: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPMPSwapsInFlight: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPGPURestartStatus: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPAbortOnGPURestartStatusBlacklisted: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPAbortOnGPURestartStatusDenied: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPSupportGPURestart: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPSupportSeparateAddressSpace: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLCPContextPriorityRequest: Self
👎Deprecated: The OpenGL API is deprecated by Apple
Trait Implementations§
Source§impl Clone for CGLContextParameter
impl Clone for CGLContextParameter
Source§fn clone(&self) -> CGLContextParameter
fn clone(&self) -> CGLContextParameter
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 CGLContextParameter
impl Debug for CGLContextParameter
Source§impl Encode for CGLContextParameter
impl Encode for CGLContextParameter
Source§impl Hash for CGLContextParameter
impl Hash for CGLContextParameter
Source§impl Ord for CGLContextParameter
impl Ord for CGLContextParameter
Source§fn cmp(&self, other: &CGLContextParameter) -> Ordering
fn cmp(&self, other: &CGLContextParameter) -> 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 CGLContextParameter
impl PartialEq for CGLContextParameter
Source§impl PartialOrd for CGLContextParameter
impl PartialOrd for CGLContextParameter
Source§impl RefEncode for CGLContextParameter
impl RefEncode for CGLContextParameter
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 CGLContextParameter
impl Eq for CGLContextParameter
impl StructuralPartialEq for CGLContextParameter
Auto Trait Implementations§
impl Freeze for CGLContextParameter
impl RefUnwindSafe for CGLContextParameter
impl Send for CGLContextParameter
impl Sync for CGLContextParameter
impl Unpin for CGLContextParameter
impl UnwindSafe for CGLContextParameter
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.