pub struct Simulator<C>(/* private fields */);Expand description
The principal driver of a simulation run which can be initialized using a configuration.
Implementations§
Source§impl<C> Simulator<C>
impl<C> Simulator<C>
Sourcepub fn into_inner(self) -> C
pub fn into_inner(self) -> C
Converts the simulator back into a configuration.
Trait Implementations§
impl<C: Copy> Copy for Simulator<C>
Auto Trait Implementations§
impl<C> Freeze for Simulator<C>where
C: Freeze,
impl<C> RefUnwindSafe for Simulator<C>where
C: RefUnwindSafe,
impl<C> Send for Simulator<C>where
C: Send,
impl<C> Sync for Simulator<C>where
C: Sync,
impl<C> Unpin for Simulator<C>where
C: Unpin,
impl<C> UnwindSafe for Simulator<C>where
C: UnwindSafe,
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