pub struct MaybeAtomicRefMut<'b, T: ?Sized> { /* private fields */ }Implementations§
Source§impl<'b, T: ?Sized> MaybeAtomicRefMut<'b, T>
impl<'b, T: ?Sized> MaybeAtomicRefMut<'b, T>
Sourcepub fn map<U: ?Sized, F>(
orig: MaybeAtomicRefMut<'b, T>,
f: F,
) -> MaybeAtomicRefMut<'b, U>
pub fn map<U: ?Sized, F>( orig: MaybeAtomicRefMut<'b, T>, f: F, ) -> MaybeAtomicRefMut<'b, U>
Make a new MaybeAtomicRef for a component of the borrowed data.
Sourcepub fn filter_map<U: ?Sized, F>(
orig: MaybeAtomicRefMut<'b, T>,
f: F,
) -> Option<MaybeAtomicRefMut<'b, U>>
pub fn filter_map<U: ?Sized, F>( orig: MaybeAtomicRefMut<'b, T>, f: F, ) -> Option<MaybeAtomicRefMut<'b, U>>
Make a new MaybeAtomicRef for an optional component of the borrowed data.
Trait Implementations§
Source§impl<'b, T: ?Sized> Deref for MaybeAtomicRefMut<'b, T>
impl<'b, T: ?Sized> Deref for MaybeAtomicRefMut<'b, T>
Auto Trait Implementations§
impl<'b, T> Freeze for MaybeAtomicRefMut<'b, T>where
T: ?Sized,
impl<'b, T> RefUnwindSafe for MaybeAtomicRefMut<'b, T>where
T: RefUnwindSafe + ?Sized,
impl<'b, T> Send for MaybeAtomicRefMut<'b, T>
impl<'b, T> Sync for MaybeAtomicRefMut<'b, T>
impl<'b, T> Unpin for MaybeAtomicRefMut<'b, T>where
T: ?Sized,
impl<'b, T> !UnwindSafe for MaybeAtomicRefMut<'b, T>
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