pub struct Modulo { /* private fields */ }
Expand description
Holds the modulo representation of a number
In mathematics, the %
operation returns the remainder obtained when an integer a
is divided
by another n
. For instance 32 % 6 = 2
: in this example, 32 can be written in terms of its
reminder after being divided by the specified dividend as 2 mod 6
. This is the modulo
representation of the number 32, with modulus 6.
Implementations§
Trait Implementations§
impl Copy for Modulo
impl StructuralPartialEq for Modulo
Auto Trait Implementations§
impl Freeze for Modulo
impl RefUnwindSafe for Modulo
impl Send for Modulo
impl Sync for Modulo
impl Unpin for Modulo
impl UnwindSafe for Modulo
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