pub struct Modulo<const D: i128, const M: i128> { /* private fields */ }Expand description
Checks whether i128 divided by D has modulo M.
Trait Implementations§
Source§impl<const D: i128, const M: i128> Predicate<i128> for Modulo<D, M>
impl<const D: i128, const M: i128> Predicate<i128> for Modulo<D, M>
Auto Trait Implementations§
impl<const D: i128, const M: i128> Freeze for Modulo<D, M>
impl<const D: i128, const M: i128> RefUnwindSafe for Modulo<D, M>
impl<const D: i128, const M: i128> Send for Modulo<D, M>
impl<const D: i128, const M: i128> Sync for Modulo<D, M>
impl<const D: i128, const M: i128> Unpin for Modulo<D, M>
impl<const D: i128, const M: i128> UnsafeUnpin for Modulo<D, M>
impl<const D: i128, const M: i128> UnwindSafe for Modulo<D, M>
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
Source§impl<T, P> PredicateExpected<T> for P
impl<T, P> PredicateExpected<T> for P
Source§fn expected() -> Expected<T, Self>
fn expected() -> Expected<T, Self>
Returns the
Expected<T, Self> value used for formatting.