pub struct ShiftAdd { /* private fields */ }Expand description
Get digits of a number in reverse order
Implementations§
Source§impl ShiftAdd
impl ShiftAdd
Sourcepub fn as_integer(&self, base: u32) -> BigInt
pub fn as_integer(&self, base: u32) -> BigInt
Get the integer value of this step
Sourcepub fn tailing_power(&self, base: u32) -> BigInt
pub fn tailing_power(&self, base: u32) -> BigInt
Get the power of the tailing digits
Sourcepub fn count_digits(&self, base: u32) -> usize
pub fn count_digits(&self, base: u32) -> usize
Get the number of digits in this step
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShiftAdd
impl RefUnwindSafe for ShiftAdd
impl Send for ShiftAdd
impl Sync for ShiftAdd
impl Unpin for ShiftAdd
impl UnwindSafe for ShiftAdd
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