pub struct SystemLogic {
pub root: Arc<dyn Logic>,
pub actors: Vec<(String, Arc<dyn Logic>)>,
}Expand description
Immutable definitions for a system: the root logic and logic for dynamic spawns. Machine actor sources are discovered from the root.
Fields§
§root: Arc<dyn Logic>§actors: Vec<(String, Arc<dyn Logic>)>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SystemLogic
impl !UnwindSafe for SystemLogic
impl Forget for SystemLogic
impl Freeze for SystemLogic
impl Move for SystemLogic
impl Send for SystemLogic
impl Sync for SystemLogic
impl Unpin for SystemLogic
impl UnsafeUnpin for SystemLogicwhere
*const ArcInner<dyn Logic> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Logic>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, Arc<dyn Logic>)>: UnsafeUnpin,
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