pub struct DriverHandleRef<'a>(/* private fields */);
Expand description
An unowned reference to a driver handle type
Methods from Deref<Target = DriverHandle>§
Sourcepub fn as_handle_ref(&self) -> DriverHandleRef<'_>
pub fn as_handle_ref(&self) -> DriverHandleRef<'_>
Gets a DriverHandleRef
of this handle
Trait Implementations§
Source§impl<'a> Debug for DriverHandleRef<'a>
impl<'a> Debug for DriverHandleRef<'a>
Source§impl<'a> Deref for DriverHandleRef<'a>
impl<'a> Deref for DriverHandleRef<'a>
Source§type Target = DriverHandle
type Target = DriverHandle
The resulting type after dereferencing.
Auto Trait Implementations§
impl<'a> Freeze for DriverHandleRef<'a>
impl<'a> RefUnwindSafe for DriverHandleRef<'a>
impl<'a> Send for DriverHandleRef<'a>
impl<'a> Sync for DriverHandleRef<'a>
impl<'a> Unpin for DriverHandleRef<'a>
impl<'a> UnwindSafe for DriverHandleRef<'a>
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