pub struct SimContext<'a> {
pub state: &'a SimState,
pub telemetry: &'a mut TelemetrySink,
}Expand description
Simulation state and telemetry sink passed to spec handler callbacks.
Fields§
§state: &'a SimState§telemetry: &'a mut TelemetrySinkTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SimContext<'a>
impl<'a> RefUnwindSafe for SimContext<'a>
impl<'a> Send for SimContext<'a>
impl<'a> Sync for SimContext<'a>
impl<'a> Unpin for SimContext<'a>
impl<'a> UnsafeUnpin for SimContext<'a>
impl<'a> !UnwindSafe for SimContext<'a>
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