Enum autocxx_bindgen::callbacks::IntKind [−][src]
pub enum IntKind { }
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.
Show fields
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.
Show fields
Implementations
impl IntKind
[src]
impl IntKind
[src]pub fn is_signed(&self) -> bool
[src]
Is this integral type signed?
pub fn known_size(&self) -> Option<usize>
[src]
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).
pub fn signedness_matches(&self, val: i64) -> bool
[src]
Whether this type’s signedness matches the value.
Trait Implementations
impl PartialOrd<IntKind> for IntKind
[src]
impl PartialOrd<IntKind> for IntKind
[src]impl StructuralEq for IntKind
[src]
impl StructuralEq for IntKind
[src]impl StructuralPartialEq for IntKind
[src]
impl StructuralPartialEq for IntKind
[src]Auto Trait Implementations
impl RefUnwindSafe for IntKind
impl RefUnwindSafe for IntKind
impl UnwindSafe for IntKind
impl UnwindSafe for IntKind