pub struct Mutex { /* private fields */ }Trait Implementations§
Source§impl LockImpl for Mutex
impl LockImpl for Mutex
Source§impl LockInit for Mutex
impl LockInit for Mutex
Source§fn size_of(addr: Option<*mut u8>) -> usize
fn size_of(addr: Option<*mut u8>) -> usize
Size required for the lock’s internal representation
Auto Trait Implementations§
impl !Freeze for Mutex
impl !RefUnwindSafe for Mutex
impl !Send for Mutex
impl !Sync for Mutex
impl Unpin for Mutex
impl UnwindSafe for Mutex
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