Struct atomic_refcell::AtomicBorrowRefMut
source · pub(crate) struct AtomicBorrowRefMut<'b> {
pub(crate) borrow: &'b AtomicUsize,
}
Fields§
§borrow: &'b AtomicUsize
Implementations§
source§impl<'b> AtomicBorrowRefMut<'b>
impl<'b> AtomicBorrowRefMut<'b>
pub(crate) fn try_new( borrow: &'b AtomicUsize, ) -> Result<AtomicBorrowRefMut<'b>, &'static str>
Trait Implementations§
Auto Trait Implementations§
impl<'b> Freeze for AtomicBorrowRefMut<'b>
impl<'b> RefUnwindSafe for AtomicBorrowRefMut<'b>
impl<'b> Send for AtomicBorrowRefMut<'b>
impl<'b> Sync for AtomicBorrowRefMut<'b>
impl<'b> Unpin for AtomicBorrowRefMut<'b>
impl<'b> UnwindSafe for AtomicBorrowRefMut<'b>
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