pub enum IntType {
U8,
U16,
U32,
U64,
U128,
USize,
I8,
I16,
I32,
I64,
I128,
ISize,
}
Expand description
A built-in fixed-width integer type.
Variants§
U8
Unsigned, 8 bits.
U16
Unsigned, 16 bits.
U32
Unsigned, 32 bits.
U64
Unsigned, 64 bits.
U128
Unsigned, 128 bits.
USize
Unsigned, enough bits to hold a pointer.
I8
Signed, 8 bits.
I16
Signed, 16 bits.
I32
Signed, 32 bits.
I64
Signed, 64 bits.
I128
Signed, 128 bits.
ISize
Unsigned, enough bits to hold a pointer.
Implementations§
Trait Implementations§
impl Copy for IntType
impl Eq for IntType
impl StructuralPartialEq for IntType
Auto Trait Implementations§
impl Freeze for IntType
impl RefUnwindSafe for IntType
impl Send for IntType
impl Sync for IntType
impl Unpin for IntType
impl UnwindSafe for IntType
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