#[repr(usize)]pub enum Radix {
Binary = 2,
Octal = 8,
Decimal = 10,
Hexadecimal = 16,
}Variants§
Implementations§
Source§impl Radix
impl Radix
pub const LITERALS: [Grapheme; 16]
pub const NEGATIVE_INDICATOR: Grapheme
pub const PREFIX_BINARY: [Grapheme; 2]
pub const PREFIX_OCTAL: [Grapheme; 2]
pub const PREFIX_HEX: [Grapheme; 2]
pub fn iter_float(&self, number: f32) -> RenderFloatIterator ⓘ
pub fn iter_integer(&self, number: i32) -> RenderIntegerIterator ⓘ
pub fn first_literal(&self, number: usize) -> Grapheme
pub const fn prefix_glyphs(&self) -> &[Grapheme]
Trait Implementations§
impl Copy 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 UnsafeUnpin 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