pub struct MultiplicationSteps { /* private fields */ }Expand description
Get digits of a number in reverse order
Implementations§
Source§impl MultiplicationSteps
impl MultiplicationSteps
Sourcepub fn new(a: &BigInt, b: &BigInt) -> MultiplicationSteps
pub fn new(a: &BigInt, b: &BigInt) -> MultiplicationSteps
Create a new MultiplicationSteps instance
Sourcepub fn max_digits(&self) -> usize
pub fn max_digits(&self) -> usize
Get the number of digits in the largest step
Trait Implementations§
Source§impl Debug for MultiplicationSteps
impl Debug for MultiplicationSteps
Auto Trait Implementations§
impl Freeze for MultiplicationSteps
impl RefUnwindSafe for MultiplicationSteps
impl Send for MultiplicationSteps
impl Sync for MultiplicationSteps
impl Unpin for MultiplicationSteps
impl UnwindSafe for MultiplicationSteps
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