pub trait NatRem<B: Nat>: Nat {
type Output: Nat;
}
Expand description
Nat
remainder. Used as Rem<X, Y>
or <X as NatRem<Y>>::Output
. Returns
Undefined
in the case of a division by zero.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.