[][src]Struct valora::prelude::encoding::gamma::GammaFn

pub struct GammaFn<N = F2p2>(_)
where
    N: Number
;

The transfer function for gamma encoded colors.

The gamma value is stored as a simple type that represents an f32 constant.

Trait Implementations

impl<N> Clone for GammaFn<N> where
    N: Number + Clone
[src]

impl<N> Copy for GammaFn<N> where
    N: Number + Copy
[src]

impl<N> Debug for GammaFn<N> where
    N: Number + Debug
[src]

impl<N> Eq for GammaFn<N> where
    N: Number + Eq
[src]

impl<N> PartialEq<GammaFn<N>> for GammaFn<N> where
    N: Number + PartialEq<N>, 
[src]

impl<N> StructuralEq for GammaFn<N> where
    N: Number
[src]

impl<N> StructuralPartialEq for GammaFn<N> where
    N: Number
[src]

impl<N> TransferFn for GammaFn<N> where
    N: Number
[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for GammaFn<N> where
    N: RefUnwindSafe

impl<N> Send for GammaFn<N> where
    N: Send

impl<N> Sync for GammaFn<N> where
    N: Sync

impl<N> Unpin for GammaFn<N> where
    N: Unpin

impl<N> UnwindSafe for GammaFn<N> where
    N: UnwindSafe

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

impl<T> SetParameter for T

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,