pub trait AtomicValue {
type Inner;
// Required methods
fn get(&self) -> Self::Inner;
fn set(&self, value: Self::Inner);
}Expand description
Trait of values that can be loaded / stored with relaxed operations.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".