Skip to main content

IsntAtomicBoolExt

Trait IsntAtomicBoolExt 

Source
pub trait IsntAtomicBoolExt: Sealed {
    // Required methods
    fn not_into_inner(self) -> bool;
    fn not_load(&self, order: Ordering) -> bool;
    fn not_swap(&self, val: bool, order: Ordering) -> bool;
    fn not_fetch_and(&self, val: bool, order: Ordering) -> bool;
    fn not_fetch_nand(&self, val: bool, order: Ordering) -> bool;
    fn not_fetch_xor(&self, val: bool, order: Ordering) -> bool;
    fn not_fetch_not(&self, order: Ordering) -> bool;
}
Expand description

Extension for AtomicBool

Required Methods§

Source

fn not_into_inner(self) -> bool

The negation of into_inner

Source

fn not_load(&self, order: Ordering) -> bool

The negation of load

Source

fn not_swap(&self, val: bool, order: Ordering) -> bool

The negation of swap

Source

fn not_fetch_and(&self, val: bool, order: Ordering) -> bool

The negation of fetch_and

Source

fn not_fetch_nand(&self, val: bool, order: Ordering) -> bool

The negation of fetch_nand

Source

fn not_fetch_xor(&self, val: bool, order: Ordering) -> bool

The negation of fetch_xor

Source

fn not_fetch_not(&self, order: Ordering) -> bool

The negation of fetch_not

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IsntAtomicBoolExt for AtomicBool

Source§

fn not_into_inner(self) -> bool

Source§

fn not_load(&self, order: Ordering) -> bool

Source§

fn not_swap(&self, val: bool, order: Ordering) -> bool

Source§

fn not_fetch_and(&self, val: bool, order: Ordering) -> bool

Source§

fn not_fetch_nand(&self, val: bool, order: Ordering) -> bool

Source§

fn not_fetch_xor(&self, val: bool, order: Ordering) -> bool

Source§

fn not_fetch_not(&self, order: Ordering) -> bool

Implementors§