pub enum Radix {
Binary,
Octal,
Decimal,
Hexadecimal,
}Expand description
Specify the base for a number.
Variants§
Binary
A base 2 number.
Octal
A base 8 number.
Decimal
A base 10 number.
Hexadecimal
A base 16 number.
Implementations§
Trait Implementations§
impl Copy for Radix
impl Eq for Radix
impl StructuralPartialEq for Radix
Auto Trait Implementations§
impl Freeze for Radix
impl RefUnwindSafe for Radix
impl Send for Radix
impl Sync for Radix
impl Unpin for Radix
impl UnwindSafe for Radix
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