pub struct OffsetsToIfds<O: OffsetSize = u32> {
pub data: Vec<IfdChain<O>>,
}Expand description
A list of IFD values, each pointing to a specific Ifd.
Generic over O: OffsetSize to support both TIFF (u32) and BigTIFF (u64).
This structure owns a list of IfdChains instead, so the user
doesn’t have to deal with the offsets in the file. Each IFD
value will point to the first element of each IfdChain. Each
of those Ifds will point to the next one in their chain (if they
are not the last of their chain) and so on.
It is responsible for writing both the offsets and all the Ifds.
Fields§
§data: Vec<IfdChain<O>>Implementations§
Source§impl<O: OffsetSize> OffsetsToIfds<O>
impl<O: OffsetSize> OffsetsToIfds<O>
Trait Implementations§
impl FieldValues<u64> for OffsetsToIfds<u64>
impl FieldValues for OffsetsToIfds<u32>
Auto Trait Implementations§
impl<O> Freeze for OffsetsToIfds<O>
impl<O = u32> !RefUnwindSafe for OffsetsToIfds<O>
impl<O = u32> !Send for OffsetsToIfds<O>
impl<O = u32> !Sync for OffsetsToIfds<O>
impl<O> Unpin for OffsetsToIfds<O>
impl<O = u32> !UnwindSafe for OffsetsToIfds<O>
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