pub struct In(pub u16);
Expand description
An IFD number.
The IFDs are indexed from 0. The 0th IFD is for the primary image
and the 1st one is for the thumbnail. Two associated constants,
In::PRIMARY
and In::THUMBNAIL
, are defined for them respectively.
§Examples
use exif::In;
assert_eq!(In::PRIMARY.index(), 0);
assert_eq!(In::THUMBNAIL.index(), 1);
Tuple Fields§
§0: u16
Implementations§
Trait Implementations§
source§impl Ord for In
impl Ord for In
source§impl PartialOrd for In
impl PartialOrd for In
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for In
impl Eq for In
impl StructuralPartialEq for In
Auto Trait Implementations§
impl Freeze for In
impl RefUnwindSafe for In
impl Send for In
impl Sync for In
impl Unpin for In
impl UnwindSafe for In
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