Trait af_core::math::Number[][src]

pub trait Number: PartialOrd + PartialEq + Zero + One + NumOps + NumAssignOps + SampleUniform { }

A trait for types that implement all the basic operations of a number.

This trait is implemented for all primitive integer and floating-point types.

Implementors

impl<T> Number for T where
    T: PartialOrd + PartialEq + Zero + One + NumOps + NumAssignOps + SampleUniform
[src]

Loading content...