Struct tiff_encoder::Offsets [−][src]
A list of LONG values, each pointing to a specific
Datablock.
This structure owns the list of Datablocks instead, so the user doesn't have to deal with the offsets in the file. It is responsible for writing both the offsets and the blocks of data.
Fields
data: Vec<T>
Methods
impl<T: Datablock + 'static> Offsets<T>[src]
impl<T: Datablock + 'static> Offsets<T>pub fn new(datablocks: Vec<T>) -> Self[src]
pub fn new(datablocks: Vec<T>) -> SelfCreates a new Offsets instance from a vector of Datablocks.
pub fn single(datablock: T) -> Self[src]
pub fn single(datablock: T) -> SelfCreates a new Offsets instance from a single Datablock.
Trait Implementations
impl<T: Datablock + 'static> FieldValues for Offsets<T>[src]
impl<T: Datablock + 'static> FieldValues for Offsets<T>