Skip to main content

IntPrimitive

Trait IntPrimitive 

Source
pub trait IntPrimitive:
    Int
    + Copy
    + Ord
    + Eq
    + Debug { }
Expand description

Built-in integer coordinate type accepted by closed-open intervals.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> IntPrimitive for T
where T: Int + Copy + Ord + Eq + Debug,