Enum llvm_sys::LLVMAtomicOrdering
source · #[repr(C)]pub enum LLVMAtomicOrdering {
LLVMAtomicOrderingNotAtomic,
LLVMAtomicOrderingUnordered,
LLVMAtomicOrderingMonotonic,
LLVMAtomicOrderingAcquire,
LLVMAtomicOrderingRelease,
LLVMAtomicOrderingAcquireRelease,
LLVMAtomicOrderingSequentiallyConsistent,
}
Variants§
LLVMAtomicOrderingNotAtomic
LLVMAtomicOrderingUnordered
LLVMAtomicOrderingMonotonic
LLVMAtomicOrderingAcquire
LLVMAtomicOrderingRelease
LLVMAtomicOrderingAcquireRelease
LLVMAtomicOrderingSequentiallyConsistent
Trait Implementations§
source§impl Clone for LLVMAtomicOrdering
impl Clone for LLVMAtomicOrdering
source§fn clone(&self) -> LLVMAtomicOrdering
fn clone(&self) -> LLVMAtomicOrdering
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 LLVMAtomicOrdering
impl Debug for LLVMAtomicOrdering
source§impl PartialEq<LLVMAtomicOrdering> for LLVMAtomicOrdering
impl PartialEq<LLVMAtomicOrdering> for LLVMAtomicOrdering
source§fn eq(&self, other: &LLVMAtomicOrdering) -> bool
fn eq(&self, other: &LLVMAtomicOrdering) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LLVMAtomicOrdering
impl StructuralPartialEq for LLVMAtomicOrdering
Auto Trait Implementations§
impl RefUnwindSafe for LLVMAtomicOrdering
impl Send for LLVMAtomicOrdering
impl Sync for LLVMAtomicOrdering
impl Unpin for LLVMAtomicOrdering
impl UnwindSafe for LLVMAtomicOrdering
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