pub enum Integer {
I8(i8),
I16(i16),
I32(i32),
I64(i64),
I128(i128),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
U128(u128),
}Expand description
An opaque integer.
Variants§
I8(i8)
Variant representing a i8 integer.
I16(i16)
Variant representing a i16 integer.
I32(i32)
Variant representing a i32 integer.
I64(i64)
Variant representing a i64 integer.
I128(i128)
Variant representing a i128 integer.
U8(u8)
Variant representing a u8 integer.
U16(u16)
Variant representing a u16 integer.
U32(u32)
Variant representing a u32 integer.
U64(u64)
Variant representing a u64 integer.
U128(u128)
Variant representing a u128 integer.
Trait Implementations§
impl Eq for Integer
Source§impl Ord for Integer
impl Ord for Integer
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Integer
impl PartialOrd for Integer
impl StructuralPartialEq for Integer
Auto Trait Implementations§
impl Freeze for Integer
impl RefUnwindSafe for Integer
impl Send for Integer
impl Sync for Integer
impl Unpin for Integer
impl UnsafeUnpin for Integer
impl UnwindSafe for Integer
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