Enum Base
#[repr(u32)]
pub(crate) enum Base
Variants
-
Decimal = 10 -
Binary = 2 -
Octal = 8 -
Hexadecimal = 16
Trait Implementations
impl Eq for Base
fn assert_fields_are_eq(&self)
impl PartialEq for Base
fn eq(&self, other: &Base) -> bool
impl StructuralPartialEq for Base
Auto Trait Implementations
impl Freeze for Base
impl RefUnwindSafe for Base
impl Send for Base
impl Sync for Base
impl Unpin for Base
impl UnsafeUnpin for Base
impl UnwindSafe for Base
Blanket Implementations
impl<T> Any for Base
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Base
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Base
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Base
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for Base
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Base
impl<T, U> Into<U> for Base
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Base
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Base
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>