Enum png_decoder::CompressionMethod
source · [−]#[repr(u8)]
pub enum CompressionMethod {
Deflate,
}
Variants
Deflate
Trait Implementations
sourceimpl Clone for CompressionMethod
impl Clone for CompressionMethod
sourcefn clone(&self) -> CompressionMethod
fn clone(&self) -> CompressionMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CompressionMethod
impl Debug for CompressionMethod
sourceimpl PartialEq<CompressionMethod> for CompressionMethod
impl PartialEq<CompressionMethod> for CompressionMethod
sourcefn eq(&self, other: &CompressionMethod) -> bool
fn eq(&self, other: &CompressionMethod) -> bool
sourceimpl TryFrom<u8> for CompressionMethod
impl TryFrom<u8> for CompressionMethod
type Error = TryFromPrimitiveError<CompressionMethod>
type Error = TryFromPrimitiveError<CompressionMethod>
The type returned in the event of a conversion error.
sourcefn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for CompressionMethod
impl TryFromPrimitive for CompressionMethod
type Primitive = u8
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for CompressionMethod
impl Eq for CompressionMethod
impl StructuralEq for CompressionMethod
impl StructuralPartialEq for CompressionMethod
Auto Trait Implementations
impl RefUnwindSafe for CompressionMethod
impl Send for CompressionMethod
impl Sync for CompressionMethod
impl Unpin for CompressionMethod
impl UnwindSafe for CompressionMethod
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