Enum jfifdump::Segment[][src]

pub enum Segment {
    Eoi,
    App {
        nr: u8,
        data: Vec<u8>,
    },
    App0Jfif(App0Jfif),
    Dqt(Vec<Dqt>),
    Dht(Vec<Dht>),
    Dac(Dac),
    Frame(Frame),
    Scan(Scan),
    Dri(u16),
    Rst(Rst),
    Comment(Vec<u8>),
    Unknown {
        marker: u8,
        data: Vec<u8>,
    },
}

Variants

Eoi
App
Show fields

Fields of App

nr: u8data: Vec<u8>
App0Jfif(App0Jfif)
Dqt(Vec<Dqt>)
Dht(Vec<Dht>)
Dac(Dac)
Frame(Frame)
Scan(Scan)
Dri(u16)
Rst(Rst)
Comment(Vec<u8>)
Unknown
Show fields

Fields of Unknown

marker: u8data: Vec<u8>

Auto Trait Implementations

impl RefUnwindSafe for Segment

impl Send for Segment

impl Sync for Segment

impl Unpin for Segment

impl UnwindSafe for Segment

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.