pub struct TypedPluginGuard<'a, P>where
P: Plugin,{ /* private fields */ }Available on crate feature
egui only.Expand description
A guard that provides access to a Plugin.
Trait Implementations§
Source§impl<P> Deref for TypedPluginGuard<'_, P>where
P: Plugin,
impl<P> Deref for TypedPluginGuard<'_, P>where
P: Plugin,
Auto Trait Implementations§
impl<'a, P> !RefUnwindSafe for TypedPluginGuard<'a, P>
impl<'a, P> !Send for TypedPluginGuard<'a, P>
impl<'a, P> !UnwindSafe for TypedPluginGuard<'a, P>
impl<'a, P> Forget for TypedPluginGuard<'a, P>
impl<'a, P> Freeze for TypedPluginGuard<'a, P>where
&'a Mutex<RawMutex, PluginHandle>: Freeze,
PhantomData<(&'a mut PluginHandle, GuardNoSend)>: Freeze,
PhantomData<P>: Freeze,
impl<'a, P> Move for TypedPluginGuard<'a, P>
impl<'a, P> Sync for TypedPluginGuard<'a, P>
impl<'a, P> Unpin for TypedPluginGuard<'a, P>
impl<'a, P> UnsafeUnpin for TypedPluginGuard<'a, P>where
&'a Mutex<RawMutex, PluginHandle>: UnsafeUnpin,
PhantomData<(&'a mut PluginHandle, GuardNoSend)>: UnsafeUnpin,
PhantomData<P>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more