Struct IfdPointer

pub struct IfdPointer(pub u64);

Identifies the offset of an IFD.

This is represented as a 64-bit integer but only BigTIFF can utilize the bits. It is encoded as 32-bit unsigned value (Type::LONG) in regular TIFF files and as 64-bit unsigned value (Type::IFD8) in BigTIFF files.

Fields

0: u64

Trait Implementations

impl Clone for IfdPointer

fn clone(&self) -> IfdPointer

impl Copy for IfdPointer

impl Debug for IfdPointer

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for IfdPointer

impl Hash for IfdPointer

fn hash<__H: Hasher>(&self, state: &mut __H)

impl LowerHex for IfdPointer

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl PartialEq for IfdPointer

fn eq(&self, other: &IfdPointer) -> bool

impl StructuralPartialEq for IfdPointer

impl UpperHex for IfdPointer

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl Freeze for IfdPointer

impl RefUnwindSafe for IfdPointer

impl Send for IfdPointer

impl Sync for IfdPointer

impl Unpin for IfdPointer

impl UnsafeUnpin for IfdPointer

impl UnwindSafe for IfdPointer

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for IfdPointer where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for IfdPointer where ST: ?Sized, DT: ?Sized,

impl<T> Any for IfdPointer where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for IfdPointer where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for IfdPointer where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for IfdPointer where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for IfdPointer

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for IfdPointer where T: ?Sized,

impl<T> ToOwned for IfdPointer where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for IfdPointer where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for IfdPointer where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for IfdPointer where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>