Skip to main content

AtomicFloat

Trait AtomicFloat 

Source
pub trait AtomicFloat<F>:
    Atomic<Type = F>
    + Bitwise
    + AsPtr
    + Update<Type = F>
    + Abs<Type = F>
    + Neg<Type = F>
    + UseUpdateToAdd<Type = F>
    + UseUpdateToSub<Type = F>
    + UseUpdateToMin<Type = F>
    + UseUpdateToMax<Type = F>
    + Send
    + Sync
where F: PrimitiveFloat,
{ }

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<AF, F> AtomicFloat<F> for AF
where AF: Atomic<Type = F> + Bitwise + AsPtr + Update<Type = F> + Abs<Type = F> + Neg<Type = F> + UseUpdateToAdd<Type = F> + UseUpdateToSub<Type = F> + UseUpdateToMin<Type = F> + UseUpdateToMax<Type = F> + Send + Sync, F: PrimitiveFloat,