Enum png_decoder::InterlaceMethod
source · [−]#[repr(u8)]
pub enum InterlaceMethod {
None,
Adam7,
}
Variants
None
Adam7
Trait Implementations
sourceimpl Clone for InterlaceMethod
impl Clone for InterlaceMethod
sourcefn clone(&self) -> InterlaceMethod
fn clone(&self) -> InterlaceMethod
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 InterlaceMethod
impl Debug for InterlaceMethod
sourceimpl PartialEq<InterlaceMethod> for InterlaceMethod
impl PartialEq<InterlaceMethod> for InterlaceMethod
sourcefn eq(&self, other: &InterlaceMethod) -> bool
fn eq(&self, other: &InterlaceMethod) -> bool
sourceimpl TryFrom<u8> for InterlaceMethod
impl TryFrom<u8> for InterlaceMethod
type Error = TryFromPrimitiveError<InterlaceMethod>
type Error = TryFromPrimitiveError<InterlaceMethod>
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 InterlaceMethod
impl TryFromPrimitive for InterlaceMethod
type Primitive = u8
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for InterlaceMethod
impl Eq for InterlaceMethod
impl StructuralEq for InterlaceMethod
impl StructuralPartialEq for InterlaceMethod
Auto Trait Implementations
impl RefUnwindSafe for InterlaceMethod
impl Send for InterlaceMethod
impl Sync for InterlaceMethod
impl Unpin for InterlaceMethod
impl UnwindSafe for InterlaceMethod
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