#[repr(C, packed(2))]pub struct CMNativeDisplayInfo {
pub dataSize: UInt32,
pub redPhosphor: CMFixedXYColor,
pub greenPhosphor: CMFixedXYColor,
pub bluePhosphor: CMFixedXYColor,
pub whitePoint: CMFixedXYColor,
pub redGammaValue: Fixed,
pub greenGammaValue: Fixed,
pub blueGammaValue: Fixed,
pub gammaChannels: UInt16,
pub gammaEntryCount: UInt16,
pub gammaEntrySize: UInt16,
pub gammaData: [c_char; 1],
}Fields§
§dataSize: UInt32§redPhosphor: CMFixedXYColor§greenPhosphor: CMFixedXYColor§bluePhosphor: CMFixedXYColor§whitePoint: CMFixedXYColor§redGammaValue: Fixed§greenGammaValue: Fixed§blueGammaValue: Fixed§gammaChannels: UInt16§gammaEntryCount: UInt16§gammaEntrySize: UInt16§gammaData: [c_char; 1]Trait Implementations§
Source§impl Clone for CMNativeDisplayInfo
impl Clone for CMNativeDisplayInfo
Source§fn clone(&self) -> CMNativeDisplayInfo
fn clone(&self) -> CMNativeDisplayInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CMNativeDisplayInfo
impl Debug for CMNativeDisplayInfo
impl Copy for CMNativeDisplayInfo
Auto Trait Implementations§
impl Freeze for CMNativeDisplayInfo
impl RefUnwindSafe for CMNativeDisplayInfo
impl Send for CMNativeDisplayInfo
impl Sync for CMNativeDisplayInfo
impl Unpin for CMNativeDisplayInfo
impl UnsafeUnpin for CMNativeDisplayInfo
impl UnwindSafe for CMNativeDisplayInfo
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