#[repr(transparent)]pub struct CGLPixelFormatAttribute(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 CGLPixelFormatAttribute
impl CGLPixelFormatAttribute
pub const CGLPFAAllRenderers: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFATripleBuffer: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFADoubleBuffer: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAColorSize: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAAlphaSize: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFADepthSize: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAStencilSize: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAMinimumPolicy: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAMaximumPolicy: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFASampleBuffers: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFASamples: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAColorFloat: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAMultisample: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFASupersample: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFASampleAlpha: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFARendererID: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFANoRecovery: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAAccelerated: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAClosestPolicy: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFABackingStore: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFABackingVolatile: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFADisplayMask: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAAllowOfflineRenderers: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAAcceleratedCompute: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAOpenGLProfile: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFASupportsAutomaticGraphicsSwitching: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAVirtualScreenCount: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAAuxBuffers: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAAccumSize: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAAuxDepthStencil: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAStereo: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAOffScreen: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAWindow: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFACompliant: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAPBuffer: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFARemotePBuffer: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFASingleRenderer: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFARobust: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAMPSafe: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAMultiScreen: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const CGLPFAFullScreen: Self
👎Deprecated: The OpenGL API is deprecated by Apple
Trait Implementations§
Source§impl Clone for CGLPixelFormatAttribute
impl Clone for CGLPixelFormatAttribute
Source§fn clone(&self) -> CGLPixelFormatAttribute
fn clone(&self) -> CGLPixelFormatAttribute
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 CGLPixelFormatAttribute
impl Debug for CGLPixelFormatAttribute
Source§impl Encode for CGLPixelFormatAttribute
impl Encode for CGLPixelFormatAttribute
Source§impl Hash for CGLPixelFormatAttribute
impl Hash for CGLPixelFormatAttribute
Source§impl Ord for CGLPixelFormatAttribute
impl Ord for CGLPixelFormatAttribute
Source§fn cmp(&self, other: &CGLPixelFormatAttribute) -> Ordering
fn cmp(&self, other: &CGLPixelFormatAttribute) -> 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 CGLPixelFormatAttribute
impl PartialEq for CGLPixelFormatAttribute
Source§impl PartialOrd for CGLPixelFormatAttribute
impl PartialOrd for CGLPixelFormatAttribute
Source§impl RefEncode for CGLPixelFormatAttribute
impl RefEncode for CGLPixelFormatAttribute
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 CGLPixelFormatAttribute
impl Eq for CGLPixelFormatAttribute
impl StructuralPartialEq for CGLPixelFormatAttribute
Auto Trait Implementations§
impl Freeze for CGLPixelFormatAttribute
impl RefUnwindSafe for CGLPixelFormatAttribute
impl Send for CGLPixelFormatAttribute
impl Sync for CGLPixelFormatAttribute
impl Unpin for CGLPixelFormatAttribute
impl UnwindSafe for CGLPixelFormatAttribute
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.