pub trait Normed: Vector {
type UnsignedScalar;
// Required methods
fn norm(&self, kind: Norm) -> Self::UnsignedScalar;
fn normalize(&self, kind: Norm) -> Self
where Self: Sized;
}
Expand description
Normed Vector
Required Associated Types§
type UnsignedScalar
Required Methods§
fn norm(&self, kind: Norm) -> Self::UnsignedScalar
fn normalize(&self, kind: Norm) -> Selfwhere
Self: Sized,
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.