Enum AtomicOrdering
enum AtomicOrdering
A type for atomic ordering parameters for intrinsics. This is a separate type from
atomic::Ordering so that we can make it ConstParamTy and fix the values used here without a
risk of leaking that to stable code.
Variants
-
Relaxed -
Release -
Acquire -
AcqRel -
SeqCst
Implementations
impl ConstParamTy_ for AtomicOrdering
impl Debug for AtomicOrdering
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for AtomicOrdering
impl Freeze for AtomicOrdering
impl PartialEq for AtomicOrdering
fn eq(self: &Self, other: &AtomicOrdering) -> bool
impl RefUnwindSafe for AtomicOrdering
impl Send for AtomicOrdering
impl StructuralPartialEq for AtomicOrdering
impl Sync for AtomicOrdering
impl Unpin for AtomicOrdering
impl UnwindSafe for AtomicOrdering
impl<T> Any for AtomicOrdering
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for AtomicOrdering
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for AtomicOrdering
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for AtomicOrdering
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for AtomicOrdering
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for AtomicOrdering
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for AtomicOrdering
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>