Struct sep2_common::packages::primitives::Int16
source · pub struct Int16(pub i16);
Expand description
Signed integer, min -32768 max +32767
Tuple Fields§
§0: i16
Methods from Deref<Target = i16>§
pub const MIN: i16 = -32_768i16
pub const MAX: i16 = 32_767i16
pub const BITS: u32 = 16u32
Trait Implementations§
source§impl Ord for Int16
impl Ord for Int16
source§impl PartialEq<Int16> for Int16
impl PartialEq<Int16> for Int16
source§impl PartialOrd<Int16> for Int16
impl PartialOrd<Int16> for Int16
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Int16
impl Eq for Int16
impl StructuralEq for Int16
impl StructuralPartialEq for Int16
Auto Trait Implementations§
impl RefUnwindSafe for Int16
impl Send for Int16
impl Sync for Int16
impl Unpin for Int16
impl UnwindSafe for Int16
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