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