pub trait InterfaceManager:
Send
+ Sync
+ Lifecycle {
// Required methods
fn get_interfaces(&self) -> Vec<Interface>;
fn get_component_interface(&self, component: Component) -> Interface;
fn get_entity_interface(&self) -> Interface;
fn get_relation_interface(&self) -> Interface;
fn get_flow_interface(&self) -> Interface;
}Required Methods§
Sourcefn get_interfaces(&self) -> Vec<Interface>
fn get_interfaces(&self) -> Vec<Interface>
Returns the interfaces of the dynamic graph.
Sourcefn get_component_interface(&self, component: Component) -> Interface
fn get_component_interface(&self, component: Component) -> Interface
Constructs an interface for the given component.
Sourcefn get_entity_interface(&self) -> Interface
fn get_entity_interface(&self) -> Interface
Constructs an interface for entity types. Each entity type has an id field.
Sourcefn get_relation_interface(&self) -> Interface
fn get_relation_interface(&self) -> Interface
Constructs an interface for relation types. Each relation type has fields for the relation type and the relation type instance id.
Sourcefn get_flow_interface(&self) -> Interface
fn get_flow_interface(&self) -> Interface
Constructs an interface for flow types. Each flow type has an id field which returns the id of the wrapper entity instance.