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