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§
Source§impl Ord for Integer
impl Ord for Integer
Source§impl PartialOrd for Integer
impl PartialOrd for Integer
impl Eq 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 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