pub struct MaybeAtomicU32 { /* private fields */ }Expand description
An atomic structure that wraps either an AtomicU32 or a u32, depending on if atomics are available.
Implementations§
Auto Trait Implementations§
impl !Freeze for MaybeAtomicU32
impl RefUnwindSafe for MaybeAtomicU32
impl Send for MaybeAtomicU32
impl Sync for MaybeAtomicU32
impl Unpin for MaybeAtomicU32
impl UnwindSafe for MaybeAtomicU32
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