Skip to main content

NumericIdentity

Trait NumericIdentity 

Source
pub trait NumericIdentity: Numeric + One { }
Expand description

1, +, -, *, /, %, 0, ==, min, max, clamp, mix, abs

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§

Source§

impl<T> NumericIdentity for T
where T: Numeric + One,