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