[][src]Enum swf_tree::ImageType

pub enum ImageType {
    Jpeg,
    Gif,
    Png,
    PartialJpeg,
    Ajpeg,
    SwfBmp,
    SwfAbmp,
}

Supported image types

  • x-partial-jpeg: JPEG file without Tables/Misc chunk. It has to be defined in a DefineJpegTables tag and injected in the first Start Of Frame (SOF) JPEG chunk.
  • x-ajpeg: JPEG with alpha mask (see DefineJPEG3): x-ajpeg :: jpeg_size(uint16be) jpeg alpha

Variants

JpegGifPngPartialJpegAjpegSwfBmpSwfAbmp

Trait Implementations

impl PartialEq<ImageType> for ImageType[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for ImageType[src]

impl Debug for ImageType[src]

impl Serialize for ImageType[src]

impl<'de> Deserialize<'de> for ImageType[src]

Auto Trait Implementations

impl Send for ImageType

impl Sync for ImageType

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

The type returned in the event of a conversion error.

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]