pub enum NumberBase {
Decimal,
Hexadecimal,
}Expand description
Base of Number literal encoding according to its prefix.
Variants§
Trait Implementations§
Source§impl Clone for NumberBase
impl Clone for NumberBase
Source§fn clone(&self) -> NumberBase
fn clone(&self) -> NumberBase
Returns a duplicate 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 NumberBase
impl Debug for NumberBase
Source§impl Ord for NumberBase
impl Ord for NumberBase
Source§fn cmp(&self, other: &NumberBase) -> Ordering
fn cmp(&self, other: &NumberBase) -> 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 NumberBase
impl PartialEq for NumberBase
Source§impl PartialOrd for NumberBase
impl PartialOrd for NumberBase
impl Copy for NumberBase
impl Eq for NumberBase
impl StructuralPartialEq for NumberBase
Auto Trait Implementations§
impl Freeze for NumberBase
impl RefUnwindSafe for NumberBase
impl Send for NumberBase
impl Sync for NumberBase
impl Unpin for NumberBase
impl UnwindSafe for NumberBase
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