Struct tiff_encoder::IfdChain

source ·
pub struct IfdChain(_);
Expand description

An ordered list of Ifds, each pointing to the next one.

The last Ifd doesn’t point to any other.

Because any IFD could technically point to a next one, in most functions that one would expect to input an Ifd, its parameters actually ask for an IfdChain.

Implementations§

Creates a new IfdChain from a vector of Ifds.

Panics

The TIFF specification requires that each IFD must have at least one entry.

Trying to create an IfdChain with one or more empty Ifds will panic.

Creates a new IfdChain from a single Ifd.

Panics

The TIFF specification requires that each IFD must have at least one entry.

Trying to create an IfdChain from an empty Ifd will panic.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.