Struct tiff_encoder::tiff_type::SHORT [−][src]
pub struct SHORT(pub u16);
16-bit (2-byte) unsigned integer.
Methods
impl SHORT[src]
impl SHORTpub fn values(values: Vec<u16>) -> TiffTypeValues<SHORT>[src]
pub fn values(values: Vec<u16>) -> TiffTypeValues<SHORT>Constructs a TiffTypeValues of SHORTSs from a vector of
u16.
pub fn single(value: u16) -> TiffTypeValues<SHORT>[src]
pub fn single(value: u16) -> TiffTypeValues<SHORT>Constructs a TiffTypeValues consisting of a single SHORT.
In other words, marks this SHORT as the single value of its
field.