pub enum IntegerRadix {
Dec,
Hex,
Oct,
Bin,
}
Variants§
Implementations§
Source§impl IntegerRadix
impl IntegerRadix
pub fn description(&self) -> &'static str
pub fn value(&self) -> u32
pub fn invalid_description(&self) -> &'static str
Trait Implementations§
Source§impl Clone for IntegerRadix
impl Clone for IntegerRadix
Source§fn clone(&self) -> IntegerRadix
fn clone(&self) -> IntegerRadix
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 IntegerRadix
impl Debug for IntegerRadix
Source§impl Default for IntegerRadix
impl Default for IntegerRadix
Source§fn default() -> IntegerRadix
fn default() -> IntegerRadix
Returns the “default value” for a type. Read more
Source§impl Hash for IntegerRadix
impl Hash for IntegerRadix
Source§impl Ord for IntegerRadix
impl Ord for IntegerRadix
Source§fn cmp(&self, other: &IntegerRadix) -> Ordering
fn cmp(&self, other: &IntegerRadix) -> 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 IntegerRadix
impl PartialEq for IntegerRadix
Source§impl PartialOrd for IntegerRadix
impl PartialOrd for IntegerRadix
impl Copy for IntegerRadix
impl Eq for IntegerRadix
impl StructuralPartialEq for IntegerRadix
Auto Trait Implementations§
impl Freeze for IntegerRadix
impl RefUnwindSafe for IntegerRadix
impl Send for IntegerRadix
impl Sync for IntegerRadix
impl Unpin for IntegerRadix
impl UnwindSafe for IntegerRadix
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