pub enum Digit {
Zero,
NonZero(NonZeroDigit),
}Variants§
Zero
NonZero(NonZeroDigit)
Implementations§
Source§impl Digit
impl Digit
pub fn d0() -> Self
pub fn d1() -> Self
pub fn d2() -> Self
pub fn d3() -> Self
pub fn d4() -> Self
pub fn d5() -> Self
pub fn d6() -> Self
pub fn d7() -> Self
pub fn d8() -> Self
pub fn d9() -> Self
pub fn from_printable(printable: Printable) -> Option<Self>
pub fn split(int: u32) -> Vec<Self>
Trait Implementations§
impl Copy for Digit
impl StructuralPartialEq for Digit
Auto Trait Implementations§
impl Freeze for Digit
impl RefUnwindSafe for Digit
impl Send for Digit
impl Sync for Digit
impl Unpin for Digit
impl UnsafeUnpin for Digit
impl UnwindSafe for Digit
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