pub trait ExDiv<Rhs = Self> {
type ExternalTraitSpecificationFor: Div<Rhs>;
type Output;
// Required methods
spec fn obeys_div_spec() -> bool;
spec fn div_req(self, rhs: Rhs) -> bool
where Self: Sized;
spec fn div_spec(self, rhs: Rhs) -> Self::Output
where Self: Sized;
exec fn div(self, rhs: Rhs) -> ret : Self::Output;
}
Required Associated Types§
type ExternalTraitSpecificationFor: Div<Rhs>
type Output
Required Methods§
Sourcespec fn obeys_div_spec() -> bool
spec fn obeys_div_spec() -> bool
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.