Expand description
The instance module provides concrete implementations of the Hook trait
and related utilities.
This includes HookDelegate for managing multiple hooks, SharedHook for
thread-safe hook access, InteractiveStepHook for debugging, and TraceHook
for logging simulation events.
Structs§
- Interactive
Step Hook - A hook that pauses the simulation at each tick to allow for interactive inspection.
- Shared
Hook - A wrapper that allows a hook to be shared across multiple components via
Arc. - Trace
Hook - A Hook that traces the simulation state.
If the
verbose_debugfeature is enabled, it also outputs the model’s detailed state using the Debug trait.
Traits§
- Model
Summary - A trait for providing a concise summary representation of a model.