Trait bytes::loom::sync::atomic::AtomicMut

source ·
pub(crate) trait AtomicMut<T> {
    // Required method
    fn with_mut<F, R>(&mut self, f: F) -> R
       where F: FnOnce(&mut *mut T) -> R;
}

Required Methods§

source

fn with_mut<F, R>(&mut self, f: F) -> R
where F: FnOnce(&mut *mut T) -> R,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> AtomicMut<T> for AtomicPtr<T>