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