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
A custom integer type, used to allow custom macro types depending on range.
Trait Implementations§
Source§impl Ord for IntKind
impl Ord for IntKind
Source§impl PartialOrd for IntKind
impl PartialOrd for IntKind
impl Copy for IntKind
impl Eq for IntKind
impl StructuralPartialEq for IntKind
Auto Trait Implementations§
impl Freeze for IntKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more