Enum png::Compression [−][src]
pub enum Compression { Default, Fast, Best, Huffman, Rle, }
The type and strength of applied compression.
Variants
Default level
Fast minimal compression
Higher compression level
Best in this context isn’t actually the highest possible level
the encoder can do, but is meant to emulate the Best
setting in the Flate2
library.
Trait Implementations
impl Clone for Compression
[src][+]
impl Debug for Compression
[src][+]
impl From<Compression> for Compression
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for Compression
impl Send for Compression
impl Sync for Compression
impl Unpin for Compression
impl UnwindSafe for Compression
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,