pub enum Type {
Show 16 variants BYTE, ASCII, SHORT, LONG, RATIONAL, SBYTE, UNDEFINED, SSHORT, SLONG, SRATIONAL, FLOAT, DOUBLE, IFD, LONG8, SLONG8, IFD8, // some variants omitted
}
Expand description

The type of an IFD entry (a 2 byte field).

Variants

BYTE

8-bit unsigned integer

ASCII

8-bit byte that contains a 7-bit ASCII code; the last byte must be zero

SHORT

16-bit unsigned integer

LONG

32-bit unsigned integer

RATIONAL

Fraction stored as two 32-bit unsigned integers

SBYTE

8-bit signed integer

UNDEFINED

8-bit byte that may contain anything, depending on the field

SSHORT

16-bit signed integer

SLONG

32-bit signed integer

SRATIONAL

Fraction stored as two 32-bit signed integers

FLOAT

32-bit IEEE floating point

DOUBLE

64-bit IEEE floating point

IFD

32-bit unsigned integer (offset)

LONG8

BigTIFF 64-bit unsigned integer

SLONG8

BigTIFF 64-bit signed integer

IFD8

BigTIFF 64-bit unsigned integer (offset)

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

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.