pub enum IntegerSize {
Int = 0,
Long = 1,
LongLong = 2,
}
Expand description
Size part of a integer literal suffix
(C11 6.4.4.1)
Variants§
Trait Implementations§
Source§impl Clone for IntegerSize
impl Clone for IntegerSize
Source§fn clone(&self) -> IntegerSize
fn clone(&self) -> IntegerSize
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 IntegerSize
impl Debug for IntegerSize
Source§impl Hash for IntegerSize
impl Hash for IntegerSize
Source§impl Ord for IntegerSize
impl Ord for IntegerSize
Source§fn cmp(&self, other: &IntegerSize) -> Ordering
fn cmp(&self, other: &IntegerSize) -> 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 IntegerSize
impl PartialEq for IntegerSize
Source§impl PartialOrd for IntegerSize
impl PartialOrd for IntegerSize
impl Copy for IntegerSize
impl Eq for IntegerSize
impl StructuralPartialEq for IntegerSize
Auto Trait Implementations§
impl Freeze for IntegerSize
impl RefUnwindSafe for IntegerSize
impl Send for IntegerSize
impl Sync for IntegerSize
impl Unpin for IntegerSize
impl UnwindSafe for IntegerSize
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