pub trait Normed: Signed {
// Required method
fn norm(self) -> Self;
}Expand description
Normed type: has an absolute value satisfying the triangle inequality.
norm(x) >= 0, norm(x) == 0 iff x == 0, norm(x + y) <= norm(x) + norm(y).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".