Skip to main content

HasNorm

Trait HasNorm 

Source
pub trait HasNorm: CoordinatePrimitive {
    // Required method
    fn norm(&self) -> GeometryMeasure;
}
Expand description

Computes the norm or magnitude of a value.

Required Methods§

Source

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".

Implementors§