pub struct SingleColorPrimary {
pub x: f64,
pub y: f64,
pub z: f64,
}Expand description
Represents a single channel color primary.
This can be viewed as a 3D coordinate of the color primary for a given colorspace
Fields§
§x: f64§y: f64§z: f64Trait Implementations§
Source§impl Clone for SingleColorPrimary
impl Clone for SingleColorPrimary
Source§fn clone(&self) -> SingleColorPrimary
fn clone(&self) -> SingleColorPrimary
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 SingleColorPrimary
impl Debug for SingleColorPrimary
Source§impl Default for SingleColorPrimary
impl Default for SingleColorPrimary
Source§fn default() -> SingleColorPrimary
fn default() -> SingleColorPrimary
Returns the “default value” for a type. Read more
impl Copy for SingleColorPrimary
Auto Trait Implementations§
impl Freeze for SingleColorPrimary
impl RefUnwindSafe for SingleColorPrimary
impl Send for SingleColorPrimary
impl Sync for SingleColorPrimary
impl Unpin for SingleColorPrimary
impl UnwindSafe for SingleColorPrimary
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