Enum inkwell::AtomicOrdering
source · 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 for AtomicOrdering
impl PartialEq 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 for AtomicOrdering
impl PartialOrd 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 moreimpl Copy for AtomicOrdering
impl Eq for AtomicOrdering
impl StructuralPartialEq for AtomicOrdering
Auto Trait Implementations§
impl Freeze for AtomicOrdering
impl RefUnwindSafe for AtomicOrdering
impl Send for AtomicOrdering
impl Sync for AtomicOrdering
impl Unpin for AtomicOrdering
impl UnwindSafe for AtomicOrdering
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more