pub struct SharedRuntimePlugin(_);
Expand description
Shared runtime plugin
Allows for multiple places to share ownership of one runtime plugin.
Implementations§
sourcepub fn new(plugin: impl RuntimePlugin + 'static) -> Self
pub fn new(plugin: impl RuntimePlugin + 'static) -> Self
Returns a new SharedRuntimePlugin
.
Trait Implementations§
source§fn clone(&self) -> SharedRuntimePlugin
fn clone(&self) -> SharedRuntimePlugin
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn config(&self) -> Option<FrozenLayer>
fn config(&self) -> Option<FrozenLayer>
source§fn runtime_components(&self) -> Cow<'_, RuntimeComponentsBuilder>
fn runtime_components(&self) -> Cow<'_, RuntimeComponentsBuilder>
Returns a
RuntimeComponentsBuilder
to incorporate into the final runtime components. Read moreAuto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more