pub trait IntValue:
Clone
+ Display
+ FromStr
+ Ord {
// Required methods
fn increment(&self) -> Self;
fn decrement(&self) -> Self;
}Expand description
A contract that must be observed for the value in an IntAtomic.
Implementations are provided for signed machine integers.
Required Methods§
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.