Struct sep2_common::packages::primitives::Int8
source · pub struct Int8(pub i8);
Expand description
Signed integer, min -128 max +127
Tuple Fields§
§0: i8
Methods from Deref<Target = i8>§
pub const MIN: i8 = -128i8
pub const MAX: i8 = 127i8
pub const BITS: u32 = 8u32
Trait Implementations§
source§impl Ord for Int8
impl Ord for Int8
source§impl PartialEq<Int8> for Int8
impl PartialEq<Int8> for Int8
source§impl PartialOrd<Int8> for Int8
impl PartialOrd<Int8> for Int8
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 Int8
impl Eq for Int8
impl StructuralEq for Int8
impl StructuralPartialEq for Int8
Auto Trait Implementations§
impl RefUnwindSafe for Int8
impl Send for Int8
impl Sync for Int8
impl Unpin for Int8
impl UnwindSafe for Int8
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