pub enum AtomicOrdering {
NotAtomic,
Unordered,
Monotonic,
Acquire,
Release,
AcquireRelease,
SequentiallyConsistent,
}Variants§
Trait Implementations§
source§impl Clone for AtomicOrdering
impl Clone for AtomicOrdering
source§fn clone(&self) -> AtomicOrdering
fn clone(&self) -> AtomicOrdering
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AtomicOrdering
impl Debug for AtomicOrdering
source§impl From<LLVMAtomicOrdering> for AtomicOrdering
impl From<LLVMAtomicOrdering> for AtomicOrdering
source§fn from(src: LLVMAtomicOrdering) -> Self
fn from(src: LLVMAtomicOrdering) -> Self
Converts to this type from the input type.
source§impl Hash for AtomicOrdering
impl Hash for AtomicOrdering
source§impl Into<LLVMAtomicOrdering> for AtomicOrdering
impl Into<LLVMAtomicOrdering> for AtomicOrdering
source§fn into(self) -> LLVMAtomicOrdering
fn into(self) -> LLVMAtomicOrdering
Converts this type into the (usually inferred) input type.
source§impl Ord for AtomicOrdering
impl Ord for AtomicOrdering
source§fn cmp(&self, other: &AtomicOrdering) -> Ordering
fn cmp(&self, other: &AtomicOrdering) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AtomicOrdering> for AtomicOrdering
impl PartialEq<AtomicOrdering> for AtomicOrdering
source§fn eq(&self, other: &AtomicOrdering) -> bool
fn eq(&self, other: &AtomicOrdering) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<AtomicOrdering> for AtomicOrdering
impl PartialOrd<AtomicOrdering> for AtomicOrdering
source§fn partial_cmp(&self, other: &AtomicOrdering) -> Option<Ordering>
fn partial_cmp(&self, other: &AtomicOrdering) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more