Enum mtpng::CompressionMethod
source · #[repr(u8)]pub enum CompressionMethod {
Deflate = 0,
}
Expand description
PNG header compression method representation.
There is only one method defined, which is Deflate.
Variants§
Deflate = 0
Use zlib deflate compression, the default.
Trait Implementations§
source§impl Clone for CompressionMethod
impl Clone for CompressionMethod
source§fn clone(&self) -> CompressionMethod
fn clone(&self) -> CompressionMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for CompressionMethod
Auto Trait Implementations§
impl Freeze for CompressionMethod
impl RefUnwindSafe for CompressionMethod
impl Send for CompressionMethod
impl Sync for CompressionMethod
impl Unpin for CompressionMethod
impl UnwindSafe for CompressionMethod
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more