Enum mtpng::InterlaceMethod
source · #[repr(u8)]pub enum InterlaceMethod {
Standard = 0,
Adam7 = 1,
}
Expand description
PNG header interlace method representation.
Currently only Standard is supported; Adam7 interlacing will throw an error if used.
Variants§
Standard = 0
No interlacing.
Rows proceed from top to bottom and are the same length.
Adam7 = 1
Adam7 interlacing.
Not yet supported.
Trait Implementations§
source§impl Clone for InterlaceMethod
impl Clone for InterlaceMethod
source§fn clone(&self) -> InterlaceMethod
fn clone(&self) -> InterlaceMethod
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 InterlaceMethod
Auto Trait Implementations§
impl Freeze for InterlaceMethod
impl RefUnwindSafe for InterlaceMethod
impl Send for InterlaceMethod
impl Sync for InterlaceMethod
impl Unpin for InterlaceMethod
impl UnwindSafe for InterlaceMethod
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