Enum stable_mir::abi::IntegerLength
source · pub enum IntegerLength {
I8,
I16,
I32,
I64,
I128,
}
Expand description
Enum representing the existing integer lengths.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for IntegerLength
impl Clone for IntegerLength
source§fn clone(&self) -> IntegerLength
fn clone(&self) -> IntegerLength
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IntegerLength
impl Debug for IntegerLength
source§impl Hash for IntegerLength
impl Hash for IntegerLength
source§impl Ord for IntegerLength
impl Ord for IntegerLength
source§fn cmp(&self, other: &IntegerLength) -> Ordering
fn cmp(&self, other: &IntegerLength) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for IntegerLength
impl PartialEq for IntegerLength
source§fn eq(&self, other: &IntegerLength) -> bool
fn eq(&self, other: &IntegerLength) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IntegerLength
impl PartialOrd for IntegerLength
source§fn partial_cmp(&self, other: &IntegerLength) -> Option<Ordering>
fn partial_cmp(&self, other: &IntegerLength) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for IntegerLength
impl Eq for IntegerLength
impl StructuralPartialEq for IntegerLength
Auto Trait Implementations§
impl Freeze for IntegerLength
impl RefUnwindSafe for IntegerLength
impl Send for IntegerLength
impl Sync for IntegerLength
impl Unpin for IntegerLength
impl UnwindSafe for IntegerLength
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
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