pub trait HasNorm: CoordinatePrimitive {
// Required method
fn norm(&self) -> GeometryMeasure;
}Expand description
Computes the norm or magnitude of a value.
Required Methods§
Sourcefn norm(&self) -> GeometryMeasure
fn norm(&self) -> GeometryMeasure
Returns the norm.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".