pub struct WhitePoint {
pub index: u8,
pub x: f32,
pub y: f32,
pub gamma: f32,
}Expand description
A single white point for the display, with x and y chromaticity coordinates given in the CIE 1931 space.
Fields§
§index: u8§x: f32§y: f32§gamma: f32Trait Implementations§
Source§impl Clone for WhitePoint
impl Clone for WhitePoint
Source§fn clone(&self) -> WhitePoint
fn clone(&self) -> WhitePoint
Returns a duplicate 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 WhitePoint
impl Debug for WhitePoint
impl Copy for WhitePoint
Auto Trait Implementations§
impl Freeze for WhitePoint
impl RefUnwindSafe for WhitePoint
impl Send for WhitePoint
impl Sync for WhitePoint
impl Unpin for WhitePoint
impl UnwindSafe for WhitePoint
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