pub struct BindTake<'pool, System, T>(_);
Expand description
A binder that gives T
to a bound function.
Created by Bind::take
.
Trait Implementations§
source§impl<T, System> Binder for BindTake<'_, System, T>where
T: 'static,
System: KernelBase + KernelStatic,
impl<T, System> Binder for BindTake<'_, System, T>where T: 'static, System: KernelBase + KernelStatic,
Materializes BindTake<System, T>
as T
.
§type Runtime = RuntimeBindTake<System, T>
type Runtime = RuntimeBindTake<System, T>
The runtime representation of
Self
. Read moresource§const fn register_dependency(&self, ctx: &mut CfgBindCtx<'_>)
const fn register_dependency(&self, ctx: &mut CfgBindCtx<'_>)
Define a binding dependency in
CfgBindCtx::bind_registry
. Read more