pub struct SimpleMarking { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for SimpleMarking
impl Clone for SimpleMarking
Source§fn clone(&self) -> SimpleMarking
fn clone(&self) -> SimpleMarking
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 SimpleMarking
impl Debug for SimpleMarking
Source§impl From<&ElementaryNet> for SimpleMarking
impl From<&ElementaryNet> for SimpleMarking
Source§fn from(net: &ElementaryNet) -> Self
fn from(net: &ElementaryNet) -> Self
Converts to this type from the input type.
Source§impl Marking for SimpleMarking
impl Marking for SimpleMarking
type Value = bool
type Tokens = Dot
fn step(&self) -> Step
fn marked(&self) -> Vec<&NodeId>
fn marking(&self, id: &NodeId) -> &Self::Tokens
fn mark(&mut self, id: NodeId, marking: Self::Tokens)
fn mark_as(&mut self, id: NodeId, marking: Self::Value)
fn reset(&mut self, id: NodeId)
Auto Trait Implementations§
impl Freeze for SimpleMarking
impl RefUnwindSafe for SimpleMarking
impl Send for SimpleMarking
impl Sync for SimpleMarking
impl Unpin for SimpleMarking
impl UnwindSafe for SimpleMarking
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