pub trait DivUnsafe<Rhs = Self>: Sized {
type Output;
// Required method
fn div_unsafe(self, other: Rhs) -> Self::Output;
}
Expand description
Division operation that is undefined behavior when the denominator is not invertible.
Required Associated Types§
Required Methods§
Sourcefn div_unsafe(self, other: Rhs) -> Self::Output
fn div_unsafe(self, other: Rhs) -> Self::Output
Undefined behavior when denominator is not invertible.
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.