pub enum IntKind {
}
Expand description
Which integral type are we dealing with?
Variants§
Bool
A bool
.
SChar
A signed char
.
UChar
An unsigned char
.
WChar
A wchar_t
.
Char
A platform-dependent char
type, with the signedness support.
Short
A short
.
UShort
An unsigned short
.
Int
An int
.
UInt
An unsigned int
.
Long
A long
.
ULong
An unsigned long
.
LongLong
A long long
.
ULongLong
An unsigned long long
.
I8
A 8-bit signed integer.
U8
A 8-bit unsigned integer.
I16
A 16-bit signed integer.
U16
Either a char16_t
or a wchar_t
.
I32
A 32-bit signed integer.
U32
A 32-bit unsigned integer.
I64
A 64-bit signed integer.
U64
A 64-bit unsigned integer.
I128
An int128_t
U128
A uint128_t
.
Custom
Fields
A custom integer type, used to allow custom macro types depending on range.
Trait Implementations§
§impl Ord for IntKind
impl Ord for IntKind
§impl PartialOrd for IntKind
impl PartialOrd for IntKind
§fn partial_cmp(&self, other: &IntKind) -> Option<Ordering>
fn partial_cmp(&self, other: &IntKind) -> Option<Ordering>
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 IntKind
impl Eq for IntKind
impl StructuralEq for IntKind
impl StructuralPartialEq for IntKind
Auto Trait Implementations§
impl RefUnwindSafe for IntKind
impl Send for IntKind
impl Sync for IntKind
impl Unpin for IntKind
impl UnwindSafe for IntKind
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