[][src]Trait atomic_traits::fetch::Or

pub trait Or {
    type Type;
    fn fetch_or(&self, val: Self::Type, order: Ordering) -> Self::Type;
}

Bitwise "or" with the current value.

Associated Types

type Type

The underlying type

Loading content...

Required methods

fn fetch_or(&self, val: Self::Type, order: Ordering) -> Self::Type

Bitwise "or" with the current value.

Performs a bitwise "or" operation on the current value and the argument val, and sets the new value to the result.

Returns the previous value.

Loading content...

Implementations on Foreign Types

impl Or for AtomicBool[src]

type Type = bool

impl Or for AtomicIsize[src]

type Type = isize

impl Or for AtomicUsize[src]

type Type = usize

impl Or for AtomicI8[src]

type Type = i8

impl Or for AtomicI16[src]

type Type = i16

impl Or for AtomicI32[src]

type Type = i32

impl Or for AtomicI64[src]

type Type = i64

impl Or for AtomicU8[src]

type Type = u8

impl Or for AtomicU16[src]

type Type = u16

impl Or for AtomicU32[src]

type Type = u32

impl Or for AtomicU64[src]

type Type = u64

Loading content...

Implementors

Loading content...