pub struct PluginContextImpl { /* private fields */ }
Implementations§
Source§impl PluginContextImpl
impl PluginContextImpl
pub fn new( component_manager: Arc<dyn ComponentManager + Send + Sync>, component_import_export_manager: Arc<dyn ComponentImportExportManager + Send + Sync>, component_provider_registry: Arc<dyn ComponentProviderRegistry + Send + Sync>, entity_type_manager: Arc<dyn EntityTypeManager + Send + Sync>, entity_type_import_export_manager: Arc<dyn EntityTypeImportExportManager + Send + Sync>, entity_type_provider_registry: Arc<dyn EntityTypeProviderRegistry + Send + Sync>, relation_type_manager: Arc<dyn RelationTypeManager + Send + Sync>, relation_type_import_export_manager: Arc<dyn RelationTypeImportExportManager + Send + Sync>, relation_type_provider_registry: Arc<dyn RelationTypeProviderRegistry + Send + Sync>, flow_type_manager: Arc<dyn FlowTypeManager + Send + Sync>, flow_type_import_export_manager: Arc<dyn FlowTypeImportExportManager + Send + Sync>, flow_type_provider_registry: Arc<dyn FlowTypeProviderRegistry + Send + Sync>, type_system_event_manager: Arc<dyn TypeSystemEventManager + Send + Sync>, entity_instance_manager: Arc<dyn EntityInstanceManager + Send + Sync>, relation_instance_manager: Arc<dyn RelationInstanceManager + Send + Sync>, flow_instance_manager: Arc<dyn FlowInstanceManager + Send + Sync>, entity_behaviour_registry: Arc<dyn EntityBehaviourRegistry + Send + Sync>, entity_component_behaviour_registry: Arc<dyn EntityComponentBehaviourRegistry + Send + Sync>, relation_behaviour_registry: Arc<dyn RelationBehaviourRegistry + Send + Sync>, relation_component_behaviour_registry: Arc<dyn RelationComponentBehaviourRegistry + Send + Sync>, config_manager: Arc<dyn ConfigManager + Send + Sync>, graphql_query_service: Arc<dyn GraphQLQueryService + Send + Sync>, web_resource_manager: Arc<dyn WebResourceManager + Send + Sync>, command_manager: Arc<dyn CommandManager + Send + Sync>, ) -> Self
Trait Implementations§
Source§impl Clone for PluginContextImpl
impl Clone for PluginContextImpl
Source§fn clone(&self) -> PluginContextImpl
fn clone(&self) -> PluginContextImpl
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§impl PluginContext for PluginContextImpl
impl PluginContext for PluginContextImpl
Source§fn get_component_manager(&self) -> Arc<dyn ComponentManager + Send + Sync>
fn get_component_manager(&self) -> Arc<dyn ComponentManager + Send + Sync>
Returns the component manager.
Source§fn get_component_import_export_manager(
&self,
) -> Arc<dyn ComponentImportExportManager + Send + Sync>
fn get_component_import_export_manager( &self, ) -> Arc<dyn ComponentImportExportManager + Send + Sync>
Returns the component import export manager.
Source§fn get_component_provider_registry(
&self,
) -> Arc<dyn ComponentProviderRegistry + Send + Sync>
fn get_component_provider_registry( &self, ) -> Arc<dyn ComponentProviderRegistry + Send + Sync>
Returns the component provider registry.
Source§fn get_entity_type_manager(&self) -> Arc<dyn EntityTypeManager + Send + Sync>
fn get_entity_type_manager(&self) -> Arc<dyn EntityTypeManager + Send + Sync>
Returns the entity type manager.
Source§fn get_entity_type_import_export_manager(
&self,
) -> Arc<dyn EntityTypeImportExportManager + Send + Sync>
fn get_entity_type_import_export_manager( &self, ) -> Arc<dyn EntityTypeImportExportManager + Send + Sync>
Returns the entity type import export manager.
Source§fn get_entity_type_provider_registry(
&self,
) -> Arc<dyn EntityTypeProviderRegistry + Send + Sync>
fn get_entity_type_provider_registry( &self, ) -> Arc<dyn EntityTypeProviderRegistry + Send + Sync>
Returns the entity type provider registry.
Source§fn get_relation_type_manager(
&self,
) -> Arc<dyn RelationTypeManager + Send + Sync>
fn get_relation_type_manager( &self, ) -> Arc<dyn RelationTypeManager + Send + Sync>
Returns the relation type manager.
Source§fn get_relation_type_import_export_manager(
&self,
) -> Arc<dyn RelationTypeImportExportManager + Send + Sync>
fn get_relation_type_import_export_manager( &self, ) -> Arc<dyn RelationTypeImportExportManager + Send + Sync>
Returns the relation type import export manager.
Source§fn get_relation_type_provider_registry(
&self,
) -> Arc<dyn RelationTypeProviderRegistry + Send + Sync>
fn get_relation_type_provider_registry( &self, ) -> Arc<dyn RelationTypeProviderRegistry + Send + Sync>
Returns the relation type provider registry.
Source§fn get_flow_type_manager(&self) -> Arc<dyn FlowTypeManager + Send + Sync>
fn get_flow_type_manager(&self) -> Arc<dyn FlowTypeManager + Send + Sync>
Returns the flow type manager.
Source§fn get_flow_type_import_export_manager(
&self,
) -> Arc<dyn FlowTypeImportExportManager + Send + Sync>
fn get_flow_type_import_export_manager( &self, ) -> Arc<dyn FlowTypeImportExportManager + Send + Sync>
Returns the flow type import export manager.
Source§fn get_flow_type_provider_registry(
&self,
) -> Arc<dyn FlowTypeProviderRegistry + Send + Sync>
fn get_flow_type_provider_registry( &self, ) -> Arc<dyn FlowTypeProviderRegistry + Send + Sync>
Returns the flow type provider registry.
Source§fn get_type_system_event_manager(
&self,
) -> Arc<dyn TypeSystemEventManager + Send + Sync>
fn get_type_system_event_manager( &self, ) -> Arc<dyn TypeSystemEventManager + Send + Sync>
Returns the system event manager.
Source§fn get_entity_instance_manager(
&self,
) -> Arc<dyn EntityInstanceManager + Send + Sync>
fn get_entity_instance_manager( &self, ) -> Arc<dyn EntityInstanceManager + Send + Sync>
Returns the entity instance manager.
Source§fn get_relation_instance_manager(
&self,
) -> Arc<dyn RelationInstanceManager + Send + Sync>
fn get_relation_instance_manager( &self, ) -> Arc<dyn RelationInstanceManager + Send + Sync>
Returns the relation instance manager.
Source§fn get_flow_instance_manager(
&self,
) -> Arc<dyn FlowInstanceManager + Send + Sync>
fn get_flow_instance_manager( &self, ) -> Arc<dyn FlowInstanceManager + Send + Sync>
Returns the flow instance manager.
Source§fn get_entity_behaviour_registry(
&self,
) -> Arc<dyn EntityBehaviourRegistry + Send + Sync>
fn get_entity_behaviour_registry( &self, ) -> Arc<dyn EntityBehaviourRegistry + Send + Sync>
Returns the entity behaviour registry.
Source§fn get_entity_component_behaviour_registry(
&self,
) -> Arc<dyn EntityComponentBehaviourRegistry + Send + Sync>
fn get_entity_component_behaviour_registry( &self, ) -> Arc<dyn EntityComponentBehaviourRegistry + Send + Sync>
Returns the entity component behaviour registry.
Source§fn get_relation_behaviour_registry(
&self,
) -> Arc<dyn RelationBehaviourRegistry + Send + Sync>
fn get_relation_behaviour_registry( &self, ) -> Arc<dyn RelationBehaviourRegistry + Send + Sync>
Returns the relation behaviour registry.
Source§fn get_relation_component_behaviour_registry(
&self,
) -> Arc<dyn RelationComponentBehaviourRegistry + Send + Sync>
fn get_relation_component_behaviour_registry( &self, ) -> Arc<dyn RelationComponentBehaviourRegistry + Send + Sync>
Returns the relation component behaviour registry.
Source§fn get_graphql_query_service(
&self,
) -> Arc<dyn GraphQLQueryService + Send + Sync>
fn get_graphql_query_service( &self, ) -> Arc<dyn GraphQLQueryService + Send + Sync>
Returns the GraphQL query service.
Source§fn get_web_resource_manager(&self) -> Arc<dyn WebResourceManager + Send + Sync>
fn get_web_resource_manager(&self) -> Arc<dyn WebResourceManager + Send + Sync>
Returns the web resource manager.
Auto Trait Implementations§
impl Freeze for PluginContextImpl
impl !RefUnwindSafe for PluginContextImpl
impl Send for PluginContextImpl
impl Sync for PluginContextImpl
impl Unpin for PluginContextImpl
impl !UnwindSafe for PluginContextImpl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more