pub struct SimState {
pub current_time: SimTime,
pub encounter_end: SimTime,
pub iteration: u32,
pub seed_prefix: u64,
}Expand description
Runtime state container for one simulation iteration.
Fields§
§current_time: SimTime§encounter_end: SimTime§iteration: u32§seed_prefix: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimState
impl RefUnwindSafe for SimState
impl Send for SimState
impl Sync for SimState
impl Unpin for SimState
impl UnsafeUnpin for SimState
impl UnwindSafe for SimState
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