pub struct Short(pub i16);Expand description
A two’s-complement signed 16-bit integer from -32,768 through 32,767.
Tuple Fields§
§0: i16The integer value.
Trait Implementations§
impl Copy for Short
impl Eq for Short
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 UnsafeUnpin 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