Enum exif::Value [] [src]

pub enum Value<'a> {
    Byte(Vec<u8>),
    Ascii(Vec<&'a [u8]>),
    Short(Vec<u16>),
    Long(Vec<u32>),
    Rational(Vec<Rational>),
    SByte(Vec<i8>),
    Undefined(&'a [u8]),
    SShort(Vec<i16>),
    SLong(Vec<i32>),
    SRational(Vec<SRational>),
    Float(Vec<f32>),
    Double(Vec<f64>),
    Unknown(u16u32u32),
}

Types and values of TIFF fields (for Exif attributes).

Variants

Vector of 8-bit unsigned integers.

Vector of slices of 8-bit bytes containing 7-bit ASCII characters. The trailing null character is not included. Note that the 8th bits may present if a non-conforming data is given.

Vector of 16-bit unsigned integers.

Vector of 32-bit unsigned integers.

Vector of unsigned rationals. An unsigned rational number is a pair of 32-bit unsigned integers.

Vector of 8-bit signed integers. Unused in the Exif specification.

Slice of 8-bit bytes.

Vector of 16-bit signed integers. Unused in the Exif specification.

Vector of 32-bit signed integers.

Vector of signed rationals. A signed rational number is a pair of 32-bit signed integers.

Vector of 32-bit (single precision) floating-point numbers. Unused in the Exif specification.

Vector of 64-bit (double precision) floating-point numbers. Unused in the Exif specification.

The type is unknown to this implementation. The associated values are the type, the count, and the offset of the "Value Offset" element.

Trait Implementations

impl<'a> Debug for Value<'a>
[src]

Formats the value using the given formatter.