Struct objc2_app_kit::NSOpenGLContextParameter
source · #[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.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 copy 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§fn eq(&self, other: &NSOpenGLContextParameter) -> bool
fn eq(&self, other: &NSOpenGLContextParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSOpenGLContextParameter
impl PartialOrd for NSOpenGLContextParameter
source§fn partial_cmp(&self, other: &NSOpenGLContextParameter) -> Option<Ordering>
fn partial_cmp(&self, other: &NSOpenGLContextParameter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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> 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.