Enum immeta::formats::webp::Metadata [] [src]

pub enum Metadata {
    VP8(VP8Metadata),
    VP8L(VP8LMetadata),
    VP8X(VP8XMetadata),
}

Variants

VP8(VP8Metadata)VP8L(VP8LMetadata)VP8X(VP8XMetadata)

Methods

impl Metadata
[src]

fn dimensions(&self) -> Dimensions

Trait Implementations

impl Debug for Metadata
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Metadata
[src]

fn eq(&self, __arg_0: &Metadata) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Metadata) -> bool

This method tests for !=.

impl Eq for Metadata
[src]

impl Clone for Metadata
[src]

fn clone(&self) -> Metadata

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl LoadableMetadata for Metadata
[src]

fn load<R: ?Sized + Read>(r: &mut R) -> Result<Metadata>

Loads the implementing type from the given input stream.

fn load_from_file<P: AsRef<Path>>(path: P) -> Result<Self>

Loads the implementing type from a file specified by the given path. Read more

fn load_from_buf(buf: &[u8]) -> Result<Self>

Loads the implementing type from an in-memory buffer. Read more