pub trait Inverse<O: Op> {
// Required method
fn inv(self) -> Self;
}
Expand description
Trait used to define the inverse element relative to the given operator.
The operator, e.g., Multiplicative
or Additive
, is identified by the type parameter O
.
Required Methods§
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.