pub trait InherentLimits<T>: 'static {
const MIN: Self;
const MAX: Self;
const MIN_INT: T;
const MAX_INT: T;
// Required methods
fn is_zero(&self) -> bool;
fn is_negative(&self) -> bool;
fn is_positive(&self) -> bool;
}
Required Associated Constants§
Required Methods§
fn is_zero(&self) -> bool
fn is_negative(&self) -> bool
fn is_positive(&self) -> bool
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.