Enum png::AdaptiveFilterType
source · #[repr(u8)]pub enum AdaptiveFilterType {
Adaptive = 0,
NonAdaptive = 1,
}
Expand description
The filtering method for preprocessing scanline data before compression.
Adaptive filtering performs additional computation in an attempt to maximize
the compression of the data. NonAdaptive
filtering is the default.
Variants§
Trait Implementations§
source§impl Clone for AdaptiveFilterType
impl Clone for AdaptiveFilterType
source§fn clone(&self) -> AdaptiveFilterType
fn clone(&self) -> AdaptiveFilterType
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 moresource§impl Debug for AdaptiveFilterType
impl Debug for AdaptiveFilterType
source§impl Default for AdaptiveFilterType
impl Default for AdaptiveFilterType
source§impl PartialEq for AdaptiveFilterType
impl PartialEq for AdaptiveFilterType
source§fn eq(&self, other: &AdaptiveFilterType) -> bool
fn eq(&self, other: &AdaptiveFilterType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AdaptiveFilterType
impl Eq for AdaptiveFilterType
impl StructuralEq for AdaptiveFilterType
impl StructuralPartialEq for AdaptiveFilterType
Auto Trait Implementations§
impl RefUnwindSafe for AdaptiveFilterType
impl Send for AdaptiveFilterType
impl Sync for AdaptiveFilterType
impl Unpin for AdaptiveFilterType
impl UnwindSafe for AdaptiveFilterType
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