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]
pub fn dimensions(&self) -> Dimensions
[src]
Trait Implementations
impl Clone for Metadata
[src]
fn clone(&self) -> Metadata
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Metadata
[src]
impl PartialEq for Metadata
[src]
fn eq(&self, __arg_0: &Metadata) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Metadata) -> bool
[src]
This method tests for !=
.
impl Debug for Metadata
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl LoadableMetadata for Metadata
[src]
fn load<R: ?Sized + BufRead>(r: &mut R) -> Result<Metadata>
[src]
Loads the implementing type from the given buffered input stream.
fn load_from_seek<R: ?Sized + BufRead + Seek>(r: &mut R) -> Result<Self>
[src]
Loads the implementing type from the given buffered and seekable input stream. Read more
fn load_from_file<P: AsRef<Path>>(path: P) -> Result<Self>
[src]
Loads the implementing type from a file specified by the given path. Read more
fn load_from_buf(buf: &[u8]) -> Result<Self>
[src]
Loads the implementing type from an in-memory buffer. Read more