pub struct MutexRef<'m, T: 'm, R, M: for<'g> Fn(&'g T) -> &'g R> { /* private fields */ }Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'m, T, R, M> Freeze for MutexRef<'m, T, R, M>where
M: Freeze,
impl<'m, T, R, M> RefUnwindSafe for MutexRef<'m, T, R, M>where
M: RefUnwindSafe,
impl<'m, T, R, M> !Send for MutexRef<'m, T, R, M>
impl<'m, T, R, M> Sync for MutexRef<'m, T, R, M>
impl<'m, T, R, M> Unpin for MutexRef<'m, T, R, M>where
M: Unpin,
impl<'m, T, R, M> UnwindSafe for MutexRef<'m, T, R, M>where
M: UnwindSafe,
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