Struct Entry
pub struct Entry { /* private fields */ }
A combination of type, count, and offset.
In a TIFF the data offset portion of an entry is used for inline data in case the length of the encoded value does not exceed the size of the offset field. Since the size of the offset field depends on the file kind (4 bytes for standard TIFF, 8 bytes for BigTIFF) the interpretation of this struct is only complete in combination with file metadata.
Implementations
impl Entry
fn new(type_: Type, count: u32, offset: [u8; 4]) -> EntryCreate a new entry fit to be added to a standard TIFF IFD.
fn new_u64(type_: Type, count: u64, offset: [u8; 8]) -> EntryCreate a new entry with data for a Big TIFF IFD.
fn field_type(&self) -> Typefn count(&self) -> u64
Trait Implementations
impl Clone for Entry
fn clone(&self) -> Self
impl Debug for Entry
fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>