pub struct Place<T: 'static> { /* private fields */ }Expand description
A typed place in the Petri Net that holds tokens of a specific type.
Places are the “state containers” of a Petri net. They hold tokens that represent data or resources flowing through the net.
Places use name-based equality. Clone is cheap (Arc
Implementations§
Trait Implementations§
impl<T: 'static> Eq for Place<T>
Auto Trait Implementations§
impl<T> Freeze for Place<T>
impl<T> RefUnwindSafe for Place<T>
impl<T> Send for Place<T>
impl<T> Sync for Place<T>
impl<T> Unpin for Place<T>
impl<T> UnsafeUnpin for Place<T>
impl<T> UnwindSafe for Place<T>
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