pub struct DirectoryOffset<K: TiffKind> {
pub offset: K::OffsetType,
pub pointer: IfdPointer,
/* private fields */
}Expand description
The offset of an encoded directory in the file.
Fields§
§offset: K::OffsetTypeThe start of the directory as a Tiff value.
This is a bit of a wart in the strongly typed design of the encoder. The value type must
itself know how to be represented in the Tiff file but that may differ based on endianess
as well as the offset size (u32 or BigTIFF’s u64). Thankfully we’re allowed to
represent offsets with LONG or IFD in the usual case.
pointer: IfdPointerThe start of the directory as a pure offset.
Trait Implementations§
Source§impl<K: Clone + TiffKind> Clone for DirectoryOffset<K>where
K::OffsetType: Clone,
impl<K: Clone + TiffKind> Clone for DirectoryOffset<K>where
K::OffsetType: Clone,
Source§fn clone(&self) -> DirectoryOffset<K>
fn clone(&self) -> DirectoryOffset<K>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<K: Debug + TiffKind> Debug for DirectoryOffset<K>where
K::OffsetType: Debug,
impl<K: Debug + TiffKind> Debug for DirectoryOffset<K>where
K::OffsetType: Debug,
Source§impl<K: Hash + TiffKind> Hash for DirectoryOffset<K>where
K::OffsetType: Hash,
impl<K: Hash + TiffKind> Hash for DirectoryOffset<K>where
K::OffsetType: Hash,
Source§impl<K: PartialEq + TiffKind> PartialEq for DirectoryOffset<K>where
K::OffsetType: PartialEq,
impl<K: PartialEq + TiffKind> PartialEq for DirectoryOffset<K>where
K::OffsetType: PartialEq,
impl<K: Copy + TiffKind> Copy for DirectoryOffset<K>where
K::OffsetType: Copy,
impl<K: Eq + TiffKind> Eq for DirectoryOffset<K>where
K::OffsetType: Eq,
impl<K: TiffKind> StructuralPartialEq for DirectoryOffset<K>
Auto Trait Implementations§
impl<K> Freeze for DirectoryOffset<K>
impl<K> RefUnwindSafe for DirectoryOffset<K>
impl<K> Send for DirectoryOffset<K>
impl<K> Sync for DirectoryOffset<K>
impl<K> Unpin for DirectoryOffset<K>
impl<K> UnwindSafe for DirectoryOffset<K>
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