#[repr(C)]
pub struct Node {
pub next_count: u32,
pub prev_count: u32,
// some fields omitted
}
A node of a petri net; stores the indices to the next and previous nodes.
The count of following nodes of a node.
The count of preceding nodes of a node.
Get a slice of indices to the next nodes.
Get a slice of indices to the previous nodes.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static