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§impl PartialOrd for IntegerLength
impl PartialOrd for IntegerLength
Source§impl Serialize for IntegerLength
impl Serialize for IntegerLength
impl 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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