pub struct SHORT(pub u16);Expand description
16-bit (2-byte) unsigned integer.
Tuple Fields§
§0: u16Implementations§
Source§impl SHORT
impl SHORT
Sourcepub fn values<T: AsRef<[u16]>>(values: T) -> TiffTypeValues<SHORT>
pub fn values<T: AsRef<[u16]>>(values: T) -> TiffTypeValues<SHORT>
Constructs a TiffTypeValues of SHORTSs from a vector of
u16.
Sourcepub fn single(value: u16) -> TiffTypeValues<SHORT>
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.
Trait Implementations§
impl StructuralPartialEq for SHORT
Auto Trait Implementations§
impl Freeze for SHORT
impl RefUnwindSafe for SHORT
impl Send for SHORT
impl Sync for SHORT
impl Unpin for SHORT
impl UnwindSafe for SHORT
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more