Enum cocoa::appkit::NSOpenGLPFAOpenGLProfiles
source · #[repr(u64)]pub enum NSOpenGLPFAOpenGLProfiles {
NSOpenGLProfileVersionLegacy,
NSOpenGLProfileVersion3_2Core,
NSOpenGLProfileVersion4_1Core,
}
Variants§
Trait Implementations§
source§impl Clone for NSOpenGLPFAOpenGLProfiles
impl Clone for NSOpenGLPFAOpenGLProfiles
source§fn clone(&self) -> NSOpenGLPFAOpenGLProfiles
fn clone(&self) -> NSOpenGLPFAOpenGLProfiles
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 NSOpenGLPFAOpenGLProfiles
impl Debug for NSOpenGLPFAOpenGLProfiles
source§impl PartialEq<NSOpenGLPFAOpenGLProfiles> for NSOpenGLPFAOpenGLProfiles
impl PartialEq<NSOpenGLPFAOpenGLProfiles> for NSOpenGLPFAOpenGLProfiles
source§fn eq(&self, other: &NSOpenGLPFAOpenGLProfiles) -> bool
fn eq(&self, other: &NSOpenGLPFAOpenGLProfiles) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NSOpenGLPFAOpenGLProfiles
impl StructuralPartialEq for NSOpenGLPFAOpenGLProfiles
Auto Trait Implementations§
impl RefUnwindSafe for NSOpenGLPFAOpenGLProfiles
impl Send for NSOpenGLPFAOpenGLProfiles
impl Sync for NSOpenGLPFAOpenGLProfiles
impl Unpin for NSOpenGLPFAOpenGLProfiles
impl UnwindSafe for NSOpenGLPFAOpenGLProfiles
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