Struct single_executor::AtomicU16State [−][src]
#[repr(transparent)]pub struct AtomicU16State<T> { /* fields omitted */ }
Expand description
An atomic that stores a given state in a $raw_type
Implementations
Analog for [$atomic_type::into_inner
].
pub fn compare_exchange(
&self,
current: T,
new: T,
success: Ordering,
failure: Ordering
) -> Result<T, T>
[src]
pub fn compare_exchange(
&self,
current: T,
new: T,
success: Ordering,
failure: Ordering
) -> Result<T, T>
[src]Analog for [$atomic_type::compare_exchange
].
pub fn compare_exchange_weak(
&self,
current: T,
new: T,
success: Ordering,
failure: Ordering
) -> Result<T, T>
[src]
pub fn compare_exchange_weak(
&self,
current: T,
new: T,
success: Ordering,
failure: Ordering
) -> Result<T, T>
[src]Analog for [$atomic_type::compare_exchange_weak
].
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for AtomicU16State<T>
impl<T> Send for AtomicU16State<T>
impl<T> Sync for AtomicU16State<T>
impl<T> Unpin for AtomicU16State<T>
impl<T> UnwindSafe for AtomicU16State<T>