pub struct ExifEntryRef<'a> { /* private fields */ }Expand description
Eager view into a single Exif entry, carrying the IFD namespace it came
from. Yielded by crate::Exif::entries.
Supersedes ExifEntry, which exposes pub fields and therefore cannot
grow the ifd_kind accessor without a breaking change. Fields here are
private specifically so that future namespace/context information can be
added without another type.
Implementations§
Source§impl<'a> ExifEntryRef<'a>
impl<'a> ExifEntryRef<'a>
Sourcepub fn ifd(&self) -> IfdIndex
pub fn ifd(&self) -> IfdIndex
Position in the IFD chain (IfdIndex::MAIN for the primary image).
Sourcepub fn value(&self) -> &'a EntryValue
pub fn value(&self) -> &'a EntryValue
The parsed value, borrowed from the parent crate::Exif.
Trait Implementations§
Source§impl<'a> Clone for ExifEntryRef<'a>
impl<'a> Clone for ExifEntryRef<'a>
Source§fn clone(&self) -> ExifEntryRef<'a>
fn clone(&self) -> ExifEntryRef<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for ExifEntryRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExifEntryRef<'a>
impl<'a> RefUnwindSafe for ExifEntryRef<'a>
impl<'a> Send for ExifEntryRef<'a>
impl<'a> Sync for ExifEntryRef<'a>
impl<'a> Unpin for ExifEntryRef<'a>
impl<'a> UnsafeUnpin for ExifEntryRef<'a>
impl<'a> UnwindSafe for ExifEntryRef<'a>
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