pub trait IntPrimitive:
Int
+ Copy
+ Ord
+ Eq
+ Debug
+ Add<Output = Self>
+ Sub<Output = Self>
+ Sum<Self> {
// Required methods
fn as_f32(self) -> f32;
fn as_f64(self) -> f64;
}Expand description
Built-in integer coordinate type accepted by closed-open intervals.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".