pub struct Place {
pub label: String,
pub initial: Vec<f64>,
pub capacity: Vec<f64>,
pub x: f64,
pub y: f64,
pub label_text: Option<String>,
}Expand description
A state in a Petri net that can hold tokens.
Fields§
§label: String§initial: Vec<f64>§capacity: Vec<f64>§x: f64§y: f64§label_text: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Place
impl RefUnwindSafe for Place
impl Send for Place
impl Sync for Place
impl Unpin for Place
impl UnsafeUnpin for Place
impl UnwindSafe for Place
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