Struct image::hdr::HdrEncoder[][src]

pub struct HdrEncoder<W: Write> { /* fields omitted */ }

Radiance HDR encoder

Implementations

impl<W: Write> HdrEncoder<W>[src]

pub fn new(w: W) -> HdrEncoder<W>[src]

Creates encoder

pub fn encode(
    self,
    data: &[Rgb<f32>],
    width: usize,
    height: usize
) -> ImageResult<()>
[src]

Encodes the image data that has dimensions width and height

Auto Trait Implementations

impl<W> RefUnwindSafe for HdrEncoder<W> where
    W: RefUnwindSafe

impl<W> Send for HdrEncoder<W> where
    W: Send

impl<W> Sync for HdrEncoder<W> where
    W: Sync

impl<W> Unpin for HdrEncoder<W> where
    W: Unpin

impl<W> UnwindSafe for HdrEncoder<W> where
    W: UnwindSafe

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

type Init = T

The type for initializers.

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.