pub enum SofKind {
Baseline8,
Extended8,
Extended12,
Progressive8,
Progressive12,
Lossless,
}Expand description
Start-of-frame variant. Determines the decode pipeline.
Variants§
Baseline8
SOF0: baseline sequential, 8-bit, Huffman.
Extended8
SOF1: extended sequential, 8-bit, Huffman.
Extended12
SOF1: extended sequential, 12-bit, Huffman.
Progressive8
SOF2: progressive, 8-bit, Huffman.
Progressive12
SOF2: progressive, 12-bit, Huffman.
Lossless
SOF3: lossless (Annex H predictor), Huffman.
Trait Implementations§
impl Copy for SofKind
impl Eq for SofKind
impl StructuralPartialEq for SofKind
Auto Trait Implementations§
impl Freeze for SofKind
impl RefUnwindSafe for SofKind
impl Send for SofKind
impl Sync for SofKind
impl Unpin for SofKind
impl UnsafeUnpin for SofKind
impl UnwindSafe for SofKind
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