pub struct Radix(/* private fields */);
Expand description
A checked container for the radix to use when converting a string to an integer.
This type enforces that its value is in the range 2 and 36 inclusive, which
is required by i64::from_str_radix
.
This type is not part of the public API for parse
but can be used on its
own.
Implementations§
Trait Implementations§
Source§impl Ord for Radix
impl Ord for Radix
Source§impl PartialOrd for Radix
impl PartialOrd for Radix
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