Trait vm_memory::AtomicInteger [−][src]
Objects that implement this trait must consist exclusively of atomic types
from std::sync::atomic
, except for
AtomicPtr<T>
and
AtomicBool
.
Associated Types
Loading content...Required methods
fn new(v: Self::V) -> Self
[src]
Create a new instance of Self
.
fn load(&self, order: Ordering) -> Self::V
[src]
Loads a value from the atomic integer.
fn store(&self, val: Self::V, order: Ordering)
[src]
Stores a value into the atomic integer.