Struct palette::encoding::linear::Linear [−][src]
pub struct Linear<S>(_);
A generic standard with linear components.
Trait Implementations
impl<S: Copy> Copy for Linear<S>
[src]
impl<S: Copy> Copy for Linear<S>
impl<S: Clone> Clone for Linear<S>
[src]
impl<S: Clone> Clone for Linear<S>
fn clone(&self) -> Linear<S>
[src]
fn clone(&self) -> Linear<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<S: Debug> Debug for Linear<S>
[src]
impl<S: Debug> Debug for Linear<S>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<S: PartialEq> PartialEq for Linear<S>
[src]
impl<S: PartialEq> PartialEq for Linear<S>
fn eq(&self, other: &Linear<S>) -> bool
[src]
fn eq(&self, other: &Linear<S>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Linear<S>) -> bool
[src]
fn ne(&self, other: &Linear<S>) -> bool
This method tests for !=
.
impl<S: Eq> Eq for Linear<S>
[src]
impl<S: Eq> Eq for Linear<S>
impl<S: RgbSpace> RgbStandard for Linear<S>
[src]
impl<S: RgbSpace> RgbStandard for Linear<S>
type Space = S
The RGB color space.
type TransferFn = LinearFn
The transfer function for the color components.
impl<Wp: WhitePoint> LumaStandard for Linear<Wp>
[src]
impl<Wp: WhitePoint> LumaStandard for Linear<Wp>
type WhitePoint = Wp
The white point of the color space.
type TransferFn = LinearFn
The transfer function for the luminance component.