[src]

Trait std::num::Primitive

pub trait Primitive: Copy + Clone + Num + NumCast + Ord + Bounded { }

Specifies the available operations common to all of Rust's core numeric primitives. These may not always make sense from a purely mathematical point of view, but may be useful for systems programming.

Implementors