pub struct TypedPluginGuard<'a, P: Plugin> {
guard: MutexGuard<'a, PluginHandle>,
_type: PhantomData<P>,
}Fields§
§guard: MutexGuard<'a, PluginHandle>§_type: PhantomData<P>Trait Implementations§
Source§impl<P: Plugin> Deref for TypedPluginGuard<'_, P>
impl<P: Plugin> Deref for TypedPluginGuard<'_, P>
Auto Trait Implementations§
impl<'a, P> Freeze for TypedPluginGuard<'a, P>
impl<'a, P> !RefUnwindSafe for TypedPluginGuard<'a, P>
impl<'a, P> !Send for TypedPluginGuard<'a, P>
impl<'a, P> Sync for TypedPluginGuard<'a, P>
impl<'a, P> Unpin for TypedPluginGuard<'a, P>where
P: Unpin,
impl<'a, P> !UnwindSafe for TypedPluginGuard<'a, P>
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