[][src]Struct tiff_encoder::ifd::types::UNDEFINED

pub struct UNDEFINED(pub u8);

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

Methods

impl UNDEFINED[src]

pub fn values<T: AsRef<[u8]>>(values: T) -> TiffTypeValues<UNDEFINED>[src]

Constructs a TiffTypeValues of UNDEFINEDs from a vector of bytes.

pub fn single(value: u8) -> TiffTypeValues<UNDEFINED>[src]

Constructs a TiffTypeValues consisting of a single UNDEFINED.

In other words, marks this UNDEFINED as the single value of its field.

Trait Implementations

impl TiffType for UNDEFINED[src]

impl PartialEq<UNDEFINED> for UNDEFINED[src]

impl Debug for UNDEFINED[src]

Auto Trait Implementations

impl Send for UNDEFINED

impl Sync for UNDEFINED

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]