pub struct DriverMutexRef<T: 'static> { /* private fields */ }Expand description
A smart pointer to a resource guarded by a DriverMutex
Trait Implementations§
Source§impl<T> Deref for DriverMutexRef<T>
impl<T> Deref for DriverMutexRef<T>
Source§impl<T> Drop for DriverMutexRef<T>
impl<T> Drop for DriverMutexRef<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for DriverMutexRef<T>
impl<T> !Send for DriverMutexRef<T>
impl<T> !Sync for DriverMutexRef<T>
impl<T> !UnwindSafe for DriverMutexRef<T>
impl<T> Freeze for DriverMutexRef<T>where
&'static T: Freeze,
impl<T> Unpin for DriverMutexRef<T>where
&'static T: Unpin,
impl<T> UnsafeUnpin for DriverMutexRef<T>where
&'static T: UnsafeUnpin,
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