pub trait AddSpecImpl<Rhs = Self>: Add<Rhs> {
// Required methods
exec fn obeys_add_spec() -> bool;
exec fn add_req(self, rhs: Rhs) -> bool
where Self: Sized;
exec fn add_spec(self, rhs: Rhs) -> Self::Output
where Self: Sized;
}
Required Methods§
Sourceexec fn obeys_add_spec() -> bool
exec fn obeys_add_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.