Struct r3_core::bind::BindTakeRef
source · pub struct BindTakeRef<'pool, System, T>(_);
Expand description
A binder that gives &'static T
to a bound function.
Created by Bind::take_ref
.
Trait Implementations§
source§impl<T, System> Binder for BindTakeRef<'_, System, T>where
T: 'static + Sync,
System: KernelBase + KernelStatic,
impl<T, System> Binder for BindTakeRef<'_, System, T>where T: 'static + Sync, System: KernelBase + KernelStatic,
Materializes BindTakeRef<System, T>
as &'static T
.
§type Runtime = RuntimeBindTakeRef<System, T>
type Runtime = RuntimeBindTakeRef<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