[][src]Struct pix::PowerLawGamma

pub struct PowerLawGamma(_);

Gamma correction with a specified value

Methods

impl PowerLawGamma[src]

pub fn encode<C: Channel>(c: C, g: f32) -> C[src]

Encode one Channel using the gamma mode.

pub fn decode<C: Channel>(c: C, g: f32) -> C[src]

Decode one Channel using the gamma mode.

Trait Implementations

impl Clone for PowerLawGamma[src]

impl Copy for PowerLawGamma[src]

impl Debug for PowerLawGamma[src]

impl Default for PowerLawGamma[src]

impl PartialEq<PowerLawGamma> for PowerLawGamma[src]

impl StructuralPartialEq for PowerLawGamma[src]

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[src]

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

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.