[][src]Trait atomic_traits::fetch::Min

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

Minimum with the current value.

Associated Types

type Type

The underlying type

Loading content...

Required methods

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

Minimum with the current value.

Finds the minimum of 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 Min for AtomicIsize[src]

type Type = isize

impl Min for AtomicUsize[src]

type Type = usize

impl Min for AtomicI8[src]

type Type = i8

impl Min for AtomicI16[src]

type Type = i16

impl Min for AtomicI32[src]

type Type = i32

impl Min for AtomicI64[src]

type Type = i64

impl Min for AtomicU8[src]

type Type = u8

impl Min for AtomicU16[src]

type Type = u16

impl Min for AtomicU32[src]

type Type = u32

impl Min for AtomicU64[src]

type Type = u64

Loading content...

Implementors

Loading content...