pub struct Chromacity {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
§y: f32
Implementations§
Source§impl Chromacity
impl Chromacity
Trait Implementations§
Source§impl Clone for Chromacity
impl Clone for Chromacity
Source§fn clone(&self) -> Chromacity
fn clone(&self) -> Chromacity
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 Chromacity
impl Debug for Chromacity
Source§impl TryFrom<Xyz> for Chromacity
impl TryFrom<Xyz> for Chromacity
impl Copy for Chromacity
Auto Trait Implementations§
impl Freeze for Chromacity
impl RefUnwindSafe for Chromacity
impl Send for Chromacity
impl Sync for Chromacity
impl Unpin for Chromacity
impl UnwindSafe for Chromacity
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