pub enum ChunkType {
Vp8,
Vp8L,
Vp8X,
Alph,
Anim,
Anmf,
Iccp,
Exif,
Xmp,
Unknown([u8; 4]),
}Expand description
WebP chunk types as defined by the RIFF-based WebP specification.
Variants§
Vp8
"VP8 " — Lossy bitstream (VP8 format).
Vp8L
"VP8L" — Lossless bitstream (VP8L format).
Vp8X
"VP8X" — Extended format header (feature flags + canvas size).
Alph
"ALPH" — Alpha channel data.
Anim
"ANIM" — Animation parameters (background color, loop count).
Anmf
"ANMF" — Animation frame.
Iccp
"ICCP" — ICC color profile.
Exif
"EXIF" — EXIF metadata.
Xmp
"XMP " — XMP metadata.
Unknown([u8; 4])
Any other FourCC not recognized by this parser.
Trait Implementations§
impl Copy for ChunkType
impl Eq for ChunkType
impl StructuralPartialEq for ChunkType
Auto Trait Implementations§
impl Freeze for ChunkType
impl RefUnwindSafe for ChunkType
impl Send for ChunkType
impl Sync for ChunkType
impl Unpin for ChunkType
impl UnsafeUnpin for ChunkType
impl UnwindSafe for ChunkType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more