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