Skip to main content

UseUpdateToMin

Trait UseUpdateToMin 

Source
pub trait UseUpdateToMin {
    type Type;

    // Required method
    fn fetch_min_via_update(
        &self,
        val: Self::Type,
        order: Ordering,
    ) -> Self::Type;
}

Required Associated Types§

Required Methods§

Source

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T> UseUpdateToMin for AtomicNumber<T>
where T: PrimitiveAtomicFloat + FromPrimitive,

Source§

type Type = T