#[repr(C)]pub struct Node<Id> {
pub prev_count: usize,
pub next_count: usize,
/* private fields */
}
Expand description
A node of a petri net; stores the indices to the next and previous nodes.
Fields§
§prev_count: usize
The count of preceding nodes of a node.
next_count: usize
The count of following nodes of a node.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Id> Freeze for Node<Id>
impl<Id> RefUnwindSafe for Node<Id>where
Id: RefUnwindSafe,
impl<Id> !Send for Node<Id>
impl<Id> !Sync for Node<Id>
impl<Id> Unpin for Node<Id>
impl<Id> UnwindSafe for Node<Id>where
Id: RefUnwindSafe,
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