Enum rustc_target::abi::Integer [−][src]
pub enum Integer {
I8,
I16,
I32,
I64,
I128,
}
Expand description
Integers, also used for enum discriminants.
Variants
Implementations
Finds the smallest Integer type which can represent the signed value.
Finds the smallest Integer type which can represent the unsigned value.
Finds the smallest integer with the given alignment.
Find the largest integer with the given alignment or less.
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 Integer
impl UnwindSafe for Integer
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: 1 byte
Size for each variant:
I8
: 0 bytesI16
: 0 bytesI32
: 0 bytesI64
: 0 bytesI128
: 0 bytes