Struct palette::encoding::linear::LinearFn [−][src]
pub struct LinearFn;
Linear color component encoding.
Trait Implementations
impl TransferFn for LinearFn
[src]
impl TransferFn for LinearFn
[src]fn into_linear<T: Float>(x: T) -> T
[src]
fn from_linear<T: Float>(x: T) -> T
[src]
impl Copy for LinearFn
[src]
impl Eq for LinearFn
[src]
impl StructuralEq for LinearFn
[src]
impl StructuralPartialEq for LinearFn
[src]
Auto Trait Implementations
impl RefUnwindSafe for LinearFn
impl Send for LinearFn
impl Sync for LinearFn
impl Unpin for LinearFn
impl UnwindSafe for LinearFn
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
[src]
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
[src]pub fn adapt_into_using<M>(Self, M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T, U> IntoColor<U> for T where
U: FromColor<T>,
[src]
impl<T, U> IntoColor<U> for T where
U: FromColor<T>,
[src]pub fn into_color(Self) -> U
[src]
impl<T, U> IntoColorUnclamped<U> for T where
U: FromColorUnclamped<T>,
[src]
impl<T, U> IntoColorUnclamped<U> for T where
U: FromColorUnclamped<T>,
[src]pub fn into_color_unclamped(Self) -> U
[src]
impl<T, U> TryIntoColor<U> for T where
U: TryFromColor<T>,
[src]
impl<T, U> TryIntoColor<U> for T where
U: TryFromColor<T>,
[src]