pub struct NetStructure {
pub places: Vec<PlaceInfo>,
pub transitions: Vec<TransitionInfo>,
}Expand description
Structure of a Petri net for the debug UI.
Fields§
§places: Vec<PlaceInfo>§transitions: Vec<TransitionInfo>Trait Implementations§
Source§impl Clone for NetStructure
impl Clone for NetStructure
Source§fn clone(&self) -> NetStructure
fn clone(&self) -> NetStructure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetStructure
impl Debug for NetStructure
Source§impl<'de> Deserialize<'de> for NetStructure
impl<'de> Deserialize<'de> for NetStructure
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetStructure
impl RefUnwindSafe for NetStructure
impl Send for NetStructure
impl Sync for NetStructure
impl Unpin for NetStructure
impl UnsafeUnpin for NetStructure
impl UnwindSafe for NetStructure
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