pub trait Primitive: PrimitivePriv { }
Expand description
Primitive types that may support atomic operations.
This trait is sealed and cannot be implemented for types outside of atomic-maybe-uninit
.
Currently this is implemented only for integer types.
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.