pub trait HaveZAndOne<T>: HaveZ<T> {
const Z: Self;
const FORWARD: Self = Self::Z;
// Provided methods
fn forward(self) -> Self
where Self: Add<Output = Self> { ... }
fn backward(self) -> Self
where Self: Sub<Output = Self> { ... }
}Required Associated Constants§
Provided Associated Constants§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".