#[repr(transparent)]pub struct NSOpenGLContextParameter(pub NSInteger);
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
Available on crate feature
NSOpenGL
only.Expand description
Tuple Fields§
§0: NSInteger
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
Implementations§
Source§impl NSOpenGLContextParameter
impl NSOpenGLContextParameter
pub const SwapInterval: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const SurfaceOrder: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const SurfaceOpacity: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const SurfaceBackingSize: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const ReclaimResources: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const CurrentRendererID: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const GPUVertexProcessing: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const GPUFragmentProcessing: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const HasDrawable: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const MPSwapsInFlight: Self
👎Deprecated: OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const SwapRectangle: Self
👎Deprecated
pub const SwapRectangleEnable: Self
👎Deprecated
pub const RasterizationEnable: Self
👎Deprecated
pub const StateValidation: Self
👎Deprecated
pub const SurfaceSurfaceVolatile: Self
👎Deprecated
Trait Implementations§
Source§impl Clone for NSOpenGLContextParameter
impl Clone for NSOpenGLContextParameter
Source§fn clone(&self) -> NSOpenGLContextParameter
fn clone(&self) -> NSOpenGLContextParameter
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 NSOpenGLContextParameter
impl Debug for NSOpenGLContextParameter
Source§impl Encode for NSOpenGLContextParameter
impl Encode for NSOpenGLContextParameter
Source§impl Hash for NSOpenGLContextParameter
impl Hash for NSOpenGLContextParameter
Source§impl Ord for NSOpenGLContextParameter
impl Ord for NSOpenGLContextParameter
Source§fn cmp(&self, other: &NSOpenGLContextParameter) -> Ordering
fn cmp(&self, other: &NSOpenGLContextParameter) -> 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 NSOpenGLContextParameter
impl PartialEq for NSOpenGLContextParameter
Source§impl PartialOrd for NSOpenGLContextParameter
impl PartialOrd for NSOpenGLContextParameter
Source§impl RefEncode for NSOpenGLContextParameter
impl RefEncode for NSOpenGLContextParameter
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 NSOpenGLContextParameter
impl Eq for NSOpenGLContextParameter
impl StructuralPartialEq for NSOpenGLContextParameter
Auto Trait Implementations§
impl Freeze for NSOpenGLContextParameter
impl RefUnwindSafe for NSOpenGLContextParameter
impl Send for NSOpenGLContextParameter
impl Sync for NSOpenGLContextParameter
impl Unpin for NSOpenGLContextParameter
impl UnwindSafe for NSOpenGLContextParameter
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.