Enum autocxx_bindgen::callbacks::IntKind [−][src]
pub enum IntKind {
}
Expand description
Which integral type are we dealing with?
Variants
A bool
.
A signed char
.
An unsigned char
.
An wchar_t
.
A platform-dependent char
type, with the signedness support.
Fields of Char
is_signed: bool
Whether the char is signed for the target platform.
A short
.
An unsigned short
.
An int
.
An unsigned int
.
A long
.
An unsigned long
.
A long long
.
An unsigned long long
.
A 8-bit signed integer.
A 8-bit unsigned integer.
A 16-bit signed integer.
Either a char16_t
or a wchar_t
.
A 32-bit signed integer.
A 32-bit unsigned integer.
A 64-bit signed integer.
A 64-bit unsigned integer.
An int128_t
A uint128_t
.
A custom integer type, used to allow custom macro types depending on range.
Fields of Custom
Implementations
If this type has a known size, return it (in bytes). This is to alleviate libclang sometimes not giving us a layout (like in the case when an enum is defined inside a class with template parameters).
Whether this type’s signedness matches the value.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for IntKind
impl UnwindSafe for IntKind
Blanket Implementations
Mutably borrows from an owned value. Read more