Skip to main content

Number

Trait Number 

Source
pub trait Number:
    NumAssign
    + 'static
    + Clone
    + PartialEq
    + Debug
    + PartialOrd
    + Copy { }
Expand description

Arbitrary number.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> Number for T
where T: NumAssign + 'static + Clone + PartialEq + Debug + PartialOrd + Copy,