pub struct Separation {
pub slots: (usize, usize),
pub vision: Vision,
pub delta_e: Option<f32>,
pub required: f32,
}Expand description
Two slots of the categorical palette told apart too little.
Fields§
§slots: (usize, usize)The two slots, the lower first.
vision: Vision§delta_e: Option<f32>The distance reached (delta_e); None when a slot is not a
colour.
required: f32Trait Implementations§
Source§impl Clone for Separation
impl Clone for Separation
Source§fn clone(&self) -> Separation
fn clone(&self) -> Separation
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 Separation
impl Debug for Separation
Source§impl Display for Separation
impl Display for Separation
Source§impl PartialEq for Separation
impl PartialEq for Separation
impl StructuralPartialEq for Separation
Auto Trait Implementations§
impl Freeze for Separation
impl RefUnwindSafe for Separation
impl Send for Separation
impl Sync for Separation
impl Unpin for Separation
impl UnsafeUnpin for Separation
impl UnwindSafe for Separation
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