Trait kernel::sync::atomic::AtomicImpl
source · pub trait AtomicImpl: Sized + Send + Copy + Sealed {
type Delta;
}Expand description
A marker trait for types that implement atomic operations with C side primitives.
This trait is sealed, and only types that have directly mapping to the C side atomics should impl this:
i32maps toatomic_t.i64maps toatomic64_t.
Required Associated Types§
Object Safety§
This trait is not object safe.