Struct rustc_middle::ty::consts::int::ConstInt [−][src]
Expand description
A type for representing any integer. Only used for printing.
Fields
int: ScalarInt
The “untyped” variant of ConstInt
.
signed: bool
Whether the value is of a signed integer type.
is_ptr_sized_integral: bool
Whether the value is a usize
or isize
type.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConstInt
impl UnwindSafe for ConstInt
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 19 bytes