pub trait IntDiv<B: Int>: Int {
type Output: Int;
}
Expand description
Integer division. Used as Div<X, Y>
or <X as IntDiv<Y>>::Output
.
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.