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

pub struct SHORT(pub u16);

16-bit (2-byte) unsigned integer.

Methods

impl SHORT[src]

pub fn values<T: AsRef<[u16]>>(values: T) -> TiffTypeValues<SHORT>[src]

Constructs a TiffTypeValues of SHORTSs from a vector of u16.

pub fn single(value: u16) -> TiffTypeValues<SHORT>[src]

Constructs a TiffTypeValues consisting of a single SHORT.

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

Trait Implementations

impl TiffType for SHORT[src]

impl PartialEq<SHORT> for SHORT[src]

impl Debug for SHORT[src]

Auto Trait Implementations

impl Send for SHORT

impl Sync for SHORT

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<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> Any for T where
    T: 'static + ?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.