pub struct Ifd {
pub offset: u64,
pub entries: HashMap<TiffTag, IfdEntry>,
pub other_tags: HashMap<u16, IfdEntry>,
pub next_ifd_offset: u64,
pub sub_ifds: Vec<Ifd>,
pub exif_ifd: Option<Box<Ifd>>,
pub gps_ifd: Option<Box<Ifd>>,
}Expand description
A parsed IFD (Image File Directory).
Fields§
§offset: u64Offset of this IFD in the file
entries: HashMap<TiffTag, IfdEntry>Parsed entries (known tags)
Other tags (format-specific, not in TiffTag enum)
next_ifd_offset: u64Offset to next IFD (0 if none)
sub_ifds: Vec<Ifd>SubIFDs (parsed from SubIFDs tag)
exif_ifd: Option<Box<Ifd>>EXIF IFD (if present)
gps_ifd: Option<Box<Ifd>>GPS IFD (if present)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ifd
impl RefUnwindSafe for Ifd
impl Send for Ifd
impl Sync for Ifd
impl Unpin for Ifd
impl UnsafeUnpin for Ifd
impl UnwindSafe for Ifd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more