SimulationExtensions

Trait SimulationExtensions 

Source
pub trait SimulationExtensions {
    // Required method
    fn token_count(&self, pid: Id<Place>) -> usize;
}
Expand description

Extension trait for the simulation.

Required Methods§

Source

fn token_count(&self, pid: Id<Place>) -> usize

Implementations on Foreign Types§

Source§

impl SimulationExtensions for BorrowedSimulation<'_, PetriNetInfo>

Source§

fn token_count(&self, pid: Id<Place>) -> usize

Source§

impl SimulationExtensions for OwnedSimulation<PetriNetInfo>

Source§

fn token_count(&self, pid: Id<Place>) -> usize

Source§

impl<R> SimulationExtensions for GenericSimulationBorrow<'_, PetriNetInfo, R>
where R: Deref<Target = State>,

Source§

fn token_count(&self, pid: Id<Place>) -> usize

Implementors§