pub trait AtomicNumOps<T = <Self as Atomic>::Primitive>: Atomic + AtomicAdd<T> + AtomicSub<T> { }
Expand description

A marker trait representing atomic types that support numerical operations.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, U> AtomicNumOps<T> for U
where U: Atomic + AtomicAdd<T> + AtomicSub<T>,