pub trait CheckRem: Rem<Output = Self> + PartialEq{
// Provided methods
fn no_rem(&self, n: Self) -> bool { ... }
fn is_rem(&self, n: Self) -> bool { ... }
}Available on crate feature
get_rem only.Expand description
Trait for checking the remainder.
Provided Methods§
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.