pub struct Chromaticity {
pub x: f32,
pub y: f32,
}Expand description
A colour’s place on the CIE 1931 diagram.
Fields§
§x: f32§y: f32Trait Implementations§
Source§impl Clone for Chromaticity
impl Clone for Chromaticity
impl Copy for Chromaticity
Source§impl Debug for Chromaticity
impl Debug for Chromaticity
Source§impl PartialEq for Chromaticity
impl PartialEq for Chromaticity
impl StructuralPartialEq for Chromaticity
Auto Trait Implementations§
impl Forget for Chromaticity
impl Freeze for Chromaticity
impl Move for Chromaticity
impl RefUnwindSafe for Chromaticity
impl Send for Chromaticity
impl Sync for Chromaticity
impl Unpin for Chromaticity
impl UnsafeUnpin for Chromaticity
impl UnwindSafe for Chromaticity
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