Enum Marker
pub enum Marker
JPEG Markers
NOTE This doesn't cover all markers, just the ones zune-jpeg supports.
Variants
-
SOF(u8) Start Of Frame markers
- SOF(0): Baseline DCT (Huffman coding)
- SOF(1): Extended sequential DCT (Huffman coding)
- SOF(2): Progressive DCT (Huffman coding)
- SOF(3): Lossless (sequential) (Huffman coding)
- SOF(5): Differential sequential DCT (Huffman coding)
- SOF(6): Differential progressive DCT (Huffman coding)
- SOF(7): Differential lossless (sequential) (Huffman coding)
- SOF(9): Extended sequential DCT (arithmetic coding)
- SOF(10): Progressive DCT (arithmetic coding)
- SOF(11): Lossless (sequential) (arithmetic coding)
- SOF(13): Differential sequential DCT (arithmetic coding)
- SOF(14): Differential progressive DCT (arithmetic coding)
- SOF(15): Differential lossless (sequential) (arithmetic coding)
-
DHT Define Huffman table(s)
-
DAC Define arithmetic coding conditioning(s)
-
RST(u8) Restart with modulo 8 count
m-
SOI Start of image
-
EOI End of image
-
SOS Start of scan
-
DQT Define quantization table(s)
-
DNL Define number of lines
-
DRI Define restart interval
-
APP(u8) Reserved for application segments
-
COM Comment
-
UNKNOWN(u8) Unknown markers
Implementations
impl Marker
fn from_u8(n: u8) -> Option<Marker>
Trait Implementations
impl Clone for Marker
fn clone(&self) -> Marker
impl Copy for Marker
impl Debug for Marker
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Marker
impl PartialEq for Marker
fn eq(&self, other: &Marker) -> bool
impl StructuralPartialEq for Marker
Auto Trait Implementations
impl Freeze for Marker
impl RefUnwindSafe for Marker
impl Send for Marker
impl Sync for Marker
impl Unpin for Marker
impl UnsafeUnpin for Marker
impl UnwindSafe for Marker
Blanket Implementations
impl<T> Any for Marker
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Marker
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Marker
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Marker
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Marker
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Marker
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for Marker
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Marker
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Marker
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>