Skip to main content

AtomicNumeric

Trait AtomicNumeric 

Source
pub trait AtomicNumeric {
    // Required methods
    fn __expand_fetch_add(
        scope: &Scope,
        ptr: ExpandValue,
        value: ExpandValue,
    ) -> ExpandValue;
    fn __expand_fetch_sub(
        scope: &Scope,
        ptr: ExpandValue,
        value: ExpandValue,
    ) -> ExpandValue;
    fn __expand_fetch_min(
        scope: &Scope,
        ptr: ExpandValue,
        value: ExpandValue,
    ) -> ExpandValue;
    fn __expand_fetch_max(
        scope: &Scope,
        ptr: ExpandValue,
        value: ExpandValue,
    ) -> ExpandValue;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl AtomicNumeric for bf16

Source§

impl AtomicNumeric for f16

Source§

impl AtomicNumeric for f32

Source§

impl AtomicNumeric for f64

Source§

impl AtomicNumeric for i8

Source§

impl AtomicNumeric for i16

Source§

impl AtomicNumeric for i32

Source§

impl AtomicNumeric for i64

Source§

impl AtomicNumeric for isize

Source§

impl AtomicNumeric for u8

Source§

impl AtomicNumeric for u16

Source§

impl AtomicNumeric for u32

Source§

impl AtomicNumeric for u64

Source§

impl AtomicNumeric for usize

Implementors§