Enum llvm_sys::LLVMAtomicOrdering
source · #[repr(C)]pub enum LLVMAtomicOrdering {
LLVMAtomicOrderingNotAtomic = 0,
LLVMAtomicOrderingUnordered = 1,
LLVMAtomicOrderingMonotonic = 2,
LLVMAtomicOrderingAcquire = 4,
LLVMAtomicOrderingRelease = 5,
LLVMAtomicOrderingAcquireRelease = 6,
LLVMAtomicOrderingSequentiallyConsistent = 7,
}
Variants§
LLVMAtomicOrderingNotAtomic = 0
LLVMAtomicOrderingUnordered = 1
LLVMAtomicOrderingMonotonic = 2
LLVMAtomicOrderingAcquire = 4
LLVMAtomicOrderingRelease = 5
LLVMAtomicOrderingAcquireRelease = 6
LLVMAtomicOrderingSequentiallyConsistent = 7
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 for LLVMAtomicOrdering
impl PartialEq 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 Freeze for LLVMAtomicOrdering
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