Skip to main content

Normalize

Trait Normalize 

Source
pub trait Normalize: CoordinatePrimitive + Sized {
    // Required method
    fn normalized(&self) -> Self;
}
Expand description

Produces a normalized copy without mutating the original value.

Required Methods§

Source

fn normalized(&self) -> Self

Returns a normalized copy of self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§