pub struct MaybeAtomicU8 { /* private fields */ }Expand description
An atomic structure that wraps either an AtomicU8 or a u8, depending on if atomics are available.
Implementations§
Auto Trait Implementations§
impl !Freeze for MaybeAtomicU8
impl RefUnwindSafe for MaybeAtomicU8
impl Send for MaybeAtomicU8
impl Sync for MaybeAtomicU8
impl Unpin for MaybeAtomicU8
impl UnwindSafe for MaybeAtomicU8
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more