pub struct Metadata { /* private fields */ }Expand description
Image metadata loaded from a file.
Implementations§
Source§impl Metadata
impl Metadata
Sourcepub fn new_from_path<P: AsRef<OsStr>>(path: P) -> Result<Self, Exiv2Error>
pub fn new_from_path<P: AsRef<OsStr>>(path: P) -> Result<Self, Exiv2Error>
Load metadata from the file at path.
Sourcepub fn get_tag_interpreted_string(
&self,
tag: &str,
) -> Result<String, Exiv2Error>
pub fn get_tag_interpreted_string( &self, tag: &str, ) -> Result<String, Exiv2Error>
Read tag as an interpreted string. Returns an error when the tag is
absent or the key is invalid.
Auto Trait Implementations§
impl !Send for Metadata
impl !Sync for Metadata
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more