pub struct Mutex<L: RawMutex, T> { /* private fields */ }
Implementations§
Trait Implementations§
impl<L: RawMutex, T: Send> Send for Mutex<L, T>
impl<L: RawMutex, T: Send> Sync for Mutex<L, T>
Auto Trait Implementations§
impl<L, T> !Freeze for Mutex<L, T>
impl<L, T> !RefUnwindSafe for Mutex<L, T>
impl<L, T> Unpin for Mutex<L, T>
impl<L, T> UnwindSafe for Mutex<L, T>where
L: UnwindSafe,
T: 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