Struct immeta::formats::jpeg::Metadata
[−]
[src]
pub struct Metadata { pub dimensions: Dimensions, }
Represents metadata of a JPEG image.
Currently it is very basic and only provides access to image dimensions.
Fields
dimensions: Dimensions
Image size.
Trait Implementations
impl Debug for Metadata
[src]
impl Eq for Metadata
[src]
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 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