pub struct RuntimeComponentBundleRegistration<B> { /* private fields */ }Expand description
Wrapper for components that only register runtime descriptors and hooks.
Trait Implementations§
Source§impl<S, B> AsterRuntimeComponent<S> for RuntimeComponentBundleRegistration<B>where
B: RuntimeComponentBundle + Send + 'static,
impl<S, B> AsterRuntimeComponent<S> for RuntimeComponentBundleRegistration<B>where
B: RuntimeComponentBundle + Send + 'static,
Source§type Output = AsterRuntimeBuilder<S>
type Output = AsterRuntimeBuilder<S>
Builder type returned after this component is applied.
Source§fn apply(self, builder: AsterRuntimeBuilder<S>) -> Self::Output
fn apply(self, builder: AsterRuntimeBuilder<S>) -> Self::Output
Applies the component to the runtime builder.
Source§impl<B> RuntimeComponentBundle for RuntimeComponentBundleRegistration<B>where
B: RuntimeComponentBundle,
impl<B> RuntimeComponentBundle for RuntimeComponentBundleRegistration<B>where
B: RuntimeComponentBundle,
Source§fn register(self, registry: &mut RuntimeComponentRegistry)
fn register(self, registry: &mut RuntimeComponentRegistry)
Registers this bundle into the runtime component registry.
Auto Trait Implementations§
impl<B> Freeze for RuntimeComponentBundleRegistration<B>where
B: Freeze,
impl<B> RefUnwindSafe for RuntimeComponentBundleRegistration<B>where
B: RefUnwindSafe,
impl<B> Send for RuntimeComponentBundleRegistration<B>where
B: Send,
impl<B> Sync for RuntimeComponentBundleRegistration<B>where
B: Sync,
impl<B> Unpin for RuntimeComponentBundleRegistration<B>where
B: Unpin,
impl<B> UnsafeUnpin for RuntimeComponentBundleRegistration<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for RuntimeComponentBundleRegistration<B>where
B: UnwindSafe,
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