[][src]Enum inkwell::AtomicRMWBinOp

pub enum AtomicRMWBinOp {
    Xchg,
    Add,
    Sub,
    And,
    Nand,
    Or,
    Xor,
    Max,
    Min,
    UMax,
    UMin,
}

Variants

Xchg

Stores to memory and returns the prior value.

Add

Adds to the value in memory and returns the prior value.

Sub

Subtract a value off the value in memory and returns the prior value.

And

Bitwise and into memory and returns the prior value.

Nand

Bitwise nands into memory and returns the prior value.

Or

Bitwise ors into memory and returns the prior value.

Xor

Bitwise xors into memory and returns the prior value.

Max

Sets memory to the signed-greater of the value provided and the value in memory. Returns the value that was in memory.

Min

Sets memory to the signed-lesser of the value provided and the value in memory. Returns the value that was in memory.

UMax

Sets memory to the unsigned-greater of the value provided and the value in memory. Returns the value that was in memory.

UMin

Sets memory to the unsigned-lesser of the value provided and the value in memory. Returns the value that was in memory.

Trait Implementations

impl Eq for AtomicRMWBinOp[src]

impl Into<LLVMAtomicRMWBinOp> for AtomicRMWBinOp[src]

impl Clone for AtomicRMWBinOp[src]

impl PartialOrd<AtomicRMWBinOp> for AtomicRMWBinOp[src]

impl Ord for AtomicRMWBinOp[src]

impl PartialEq<AtomicRMWBinOp> for AtomicRMWBinOp[src]

impl From<LLVMAtomicRMWBinOp> for AtomicRMWBinOp[src]

impl Copy for AtomicRMWBinOp[src]

impl Hash for AtomicRMWBinOp[src]

impl Debug for AtomicRMWBinOp[src]

Auto Trait Implementations

impl Sync for AtomicRMWBinOp

impl Send for AtomicRMWBinOp

impl Unpin for AtomicRMWBinOp

impl UnwindSafe for AtomicRMWBinOp

impl RefUnwindSafe for AtomicRMWBinOp

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]