[][src]Struct png_pong::RasterEncoder

pub struct RasterEncoder<'a, W> where
    W: Write
{ /* fields omitted */ }

Encoder for writing Rasters into a PNG file.

Methods

impl<'a, W> RasterEncoder<'a, W> where
    W: Write
[src]

pub fn add_frame(
    &mut self,
    raster: &Raster<Rgba8>,
    nanos: u64
) -> Result<(), EncodeError>
[src]

Add a frame to the animation or still.

Auto Trait Implementations

impl<'a, W> !Sync for RasterEncoder<'a, W>

impl<'a, W> !Send for RasterEncoder<'a, W>

impl<'a, W> Unpin for RasterEncoder<'a, W> where
    W: Unpin

impl<'a, W> RefUnwindSafe for RasterEncoder<'a, W> where
    W: RefUnwindSafe

impl<'a, W> !UnwindSafe for RasterEncoder<'a, W>

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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