Enum cocoa::appkit::NSOpenGLContextParameter
source · #[repr(u64)]pub enum NSOpenGLContextParameter {
NSOpenGLCPSwapInterval,
NSOpenGLCPSurfaceOrder,
NSOpenGLCPSurfaceOpacity,
NSOpenGLCPSurfaceBackingSize,
NSOpenGLCPReclaimResources,
NSOpenGLCPCurrentRendererID,
NSOpenGLCPGPUVertexProcessing,
NSOpenGLCPGPUFragmentProcessing,
NSOpenGLCPHasDrawable,
NSOpenGLCPMPSwapsInFlight,
}
Variants§
NSOpenGLCPSwapInterval
NSOpenGLCPSurfaceOrder
NSOpenGLCPSurfaceOpacity
NSOpenGLCPSurfaceBackingSize
NSOpenGLCPReclaimResources
NSOpenGLCPCurrentRendererID
NSOpenGLCPGPUVertexProcessing
NSOpenGLCPGPUFragmentProcessing
NSOpenGLCPHasDrawable
NSOpenGLCPMPSwapsInFlight
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 PartialEq<NSOpenGLContextParameter> for NSOpenGLContextParameter
impl PartialEq<NSOpenGLContextParameter> 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 ==
.impl Copy for NSOpenGLContextParameter
impl StructuralPartialEq for NSOpenGLContextParameter
Auto Trait Implementations§
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