pub struct SSHORT(pub i16);
Expand description
16-bit (2-byte) signed (twos-complement) integer.
Tuple Fields§
§0: i16
Implementations§
Source§impl SSHORT
impl SSHORT
Sourcepub fn values<T: AsRef<[i16]>>(values: T) -> TiffTypeValues<SSHORT>
pub fn values<T: AsRef<[i16]>>(values: T) -> TiffTypeValues<SSHORT>
Constructs a TiffTypeValues
of SSHORT
s from a vector of
i16
.
Sourcepub fn single(value: i16) -> TiffTypeValues<SSHORT>
pub fn single(value: i16) -> TiffTypeValues<SSHORT>
Constructs a TiffTypeValues
consisting of a single SSHORT
.
In other words, marks this SSHORT
as the single value of its
field.
Trait Implementations§
impl StructuralPartialEq for SSHORT
Auto Trait Implementations§
impl Freeze for SSHORT
impl RefUnwindSafe for SSHORT
impl Send for SSHORT
impl Sync for SSHORT
impl Unpin for SSHORT
impl UnwindSafe for SSHORT
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