NumericNormalize

Trait NumericNormalize 

Source
pub trait NumericNormalize:
    Float
    + AddAssign
    + Sum
    + NumCast { }
Expand description

A trait for numeric types suitable for normalization operations.

This trait combines floating-point arithmetic with assignment operations, summation capabilities, and numeric casting. It’s specifically designed for types that need to participate in normalization algorithms where values are scaled or adjusted relative to some total or maximum.

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.

Implementors§