pub struct BindTake<'pool, System, T>(_);
Expand description
A binder that gives T
to a bound function.
Created by Bind::take
.
Trait Implementations
sourceimpl<T, System> Binder for BindTake<'_, System, T>where
T: 'static,
System: KernelBase + KernelStatic<System>,
impl<T, System> Binder for BindTake<'_, System, T>where
T: 'static,
System: KernelBase + KernelStatic<System>,
Materializes BindTake<System, T>
as T
.
type Runtime = RuntimeBindTake<System, T>
type Runtime = RuntimeBindTake<System, T>
The runtime representation of
Self
. Read moresourceconst fn register_dependency(&self, ctx: &mut CfgBindCtx<'_>)
const fn register_dependency(&self, ctx: &mut CfgBindCtx<'_>)
Define a binding dependency in
CfgBindCtx::bind_registry
. Read moresourceconst fn into_runtime_binder(
self
) -> <BindTake<'_, System, T> as Binder>::Runtime
const fn into_runtime_binder(
self
) -> <BindTake<'_, System, T> as Binder>::Runtime
Auto Trait Implementations
impl<'pool, System, T> !RefUnwindSafe for BindTake<'pool, System, T>
impl<'pool, System, T> !Send for BindTake<'pool, System, T>
impl<'pool, System, T> !Sync for BindTake<'pool, System, T>
impl<'pool, System, T> Unpin for BindTake<'pool, System, T>where
System: Unpin,
impl<'pool, System, T> !UnwindSafe for BindTake<'pool, System, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more