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

pub struct SSHORT(pub i16);

16-bit (2-byte) signed (twos-complement) integer.

Methods

impl SSHORT[src]

pub fn values<T: AsRef<[i16]>>(values: T) -> TiffTypeValues<SSHORT>[src]

Constructs a TiffTypeValues of SSHORTs from a vector of i16.

pub fn single(value: i16) -> TiffTypeValues<SSHORT>[src]

Constructs a TiffTypeValues consisting of a single SSHORT.

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

Trait Implementations

impl TiffType for SSHORT[src]

impl PartialEq<SSHORT> for SSHORT[src]

impl Debug for SSHORT[src]

Auto Trait Implementations

impl Send for SSHORT

impl Sync for SSHORT

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]