Struct palette::rgb::standards::linear::LinearFn
[−]
[src]
pub struct LinearFn;
Linear color component encoding.
Trait Implementations
impl Copy for LinearFn
[src]
impl Clone for LinearFn
[src]
fn clone(&self) -> LinearFn
[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 Debug for LinearFn
[src]
impl PartialEq for LinearFn
[src]
fn eq(&self, __arg_0: &LinearFn) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for LinearFn
[src]
impl TransferFn for LinearFn
[src]
fn into_linear<T: Float>(x: T) -> T
[src]
Convert the color component x
into linear space.
fn from_linear<T: Float>(x: T) -> T
[src]
Convert the color component x
from linear space.