Skip to main content

Primitive

Trait Primitive 

Source
pub trait Primitive:
    NumericIdentity
    + PartialOrd
    + RangeDefault
    + PrimitiveType
    + CastPrimitive
    + CastRangePrimitive
    + Default { }

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§