Generic Atomics
Generic Atomic type for types that implement num-primitive traits.
Compatibility
The crate is tested for stable and nightly compiler.
Current MSRV is 1.97.1.
Usage
Add this to your Cargo.toml:
[]
= "0.1"
Example
use ;
use Ordering;
Context
This crate started from atomic_float and the code generated by the macros of atomic-traits, unlike atomic_float this provides a generic AtomicFlaot<T: PrimitiveFloat> that implements the atomic-traits.