pub struct Registry { /* private fields */ }Expand description
Components registered to be spawned when the simulation starts.
Constructors for active components usually call Engine::register before
returning their Rc<Self>. The registry is drained by Engine::run or
Engine::run_until, so all construction and required port connections
should be complete before either method is called.
Implementations§
Auto Trait Implementations§
impl !Freeze for Registry
impl !RefUnwindSafe for Registry
impl !Send for Registry
impl !Sync for Registry
impl !UnwindSafe for Registry
impl Unpin for Registry
impl UnsafeUnpin for Registry
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