pub struct Encoder<W: Write> { /* private fields */ }
Expand description
PNG Encoder
Implementations
Trait Implementations
sourceimpl<W: Write> HasParameters for Encoder<W>
impl<W: Write> HasParameters for Encoder<W>
sourceimpl<W: Write, C: Into<Compression>> Parameter<Encoder<W>> for C
impl<W: Write, C: Into<Compression>> Parameter<Encoder<W>> for C
Set compression param for a Compression
or any type that can transform
into a Compression
, notably deflate::Compression
and
deflate::CompressionOptions
which “just work”.
Auto Trait Implementations
impl<W> RefUnwindSafe for Encoder<W>where
W: RefUnwindSafe,
impl<W> Send for Encoder<W>where
W: Send,
impl<W> Sync for Encoder<W>where
W: Sync,
impl<W> Unpin for Encoder<W>where
W: Unpin,
impl<W> UnwindSafe for Encoder<W>where
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more