lexical_util::num

Trait Primitive

Source
pub trait Primitive:
    'static
    + Debug
    + Display
    + AsCast { }
Expand description

Primitive type trait (which all have static lifetimes).

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.

Implementations on Foreign Types§

Source§

impl Primitive for f32

Source§

impl Primitive for f64

Source§

impl Primitive for i8

Source§

impl Primitive for i16

Source§

impl Primitive for i32

Source§

impl Primitive for i64

Source§

impl Primitive for i128

Source§

impl Primitive for isize

Source§

impl Primitive for u8

Source§

impl Primitive for u16

Source§

impl Primitive for u32

Source§

impl Primitive for u64

Source§

impl Primitive for u128

Source§

impl Primitive for usize

Implementors§