#[repr(i32)]pub enum NSWindowDepth {
TwentyfourBitRgb = 520,
SixtyfourBitRgb = 528,
OneHundredTwentyEightBitRgb = 544,
}
Expand description
A type that represents the depth, or amount of memory, for a single pixel in a window or screen.
Variants§
TwentyfourBitRgb = 520
Twenty four bit RGB depth limit.
SixtyfourBitRgb = 528
Sixty four bit RGB depth limit.
OneHundredTwentyEightBitRgb = 544
One hundred and twenty eight bit RGB depth limit.
Trait Implementations§
Source§impl Clone for NSWindowDepth
impl Clone for NSWindowDepth
Source§fn clone(&self) -> NSWindowDepth
fn clone(&self) -> NSWindowDepth
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NSWindowDepth
impl Debug for NSWindowDepth
Source§impl PartialEq for NSWindowDepth
impl PartialEq for NSWindowDepth
impl Copy for NSWindowDepth
impl Eq for NSWindowDepth
impl StructuralPartialEq for NSWindowDepth
Auto Trait Implementations§
impl Freeze for NSWindowDepth
impl RefUnwindSafe for NSWindowDepth
impl Send for NSWindowDepth
impl Sync for NSWindowDepth
impl Unpin for NSWindowDepth
impl UnwindSafe for NSWindowDepth
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