pub struct ServoConstructor;Expand description
Module constructor for the "servo" type — bridges an automaton to a graph parameter.
Trait Implementations§
Source§impl ModuleConstructor for ServoConstructor
impl ModuleConstructor for ServoConstructor
Source§fn construct(
&self,
module: &ModuleDef,
automaton_defs: &[AutomatonDef],
system: &Arc<ActorSystem>,
graph_ref: &ActorRef<CommandEnum>,
) -> Result<ActorRef<CommandEnum>, ModuleError>
fn construct( &self, module: &ModuleDef, automaton_defs: &[AutomatonDef], system: &Arc<ActorSystem>, graph_ref: &ActorRef<CommandEnum>, ) -> Result<ActorRef<CommandEnum>, ModuleError>
Build the module and return its actor handle. Read more
Source§fn clone_box(&self) -> Box<dyn ModuleConstructor>
fn clone_box(&self) -> Box<dyn ModuleConstructor>
Returns a heap-allocated clone of this constructor.
Auto Trait Implementations§
impl Freeze for ServoConstructor
impl RefUnwindSafe for ServoConstructor
impl Send for ServoConstructor
impl Sync for ServoConstructor
impl Unpin for ServoConstructor
impl UnsafeUnpin for ServoConstructor
impl UnwindSafe for ServoConstructor
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