Enum pnets::NodeId [−][src]
pub enum NodeId { Place(PlaceId), Transition(TransitionId), }
Expand description
Represent an id in the network
Variants
Place
Tuple Fields of Place
0: PlaceId
Transition
Tuple Fields of Transition
0: TransitionId
Implementations
Try to convert NodeId to TransitionId
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for NodeId
impl UnwindSafe for NodeId
Blanket Implementations
Mutably borrows from an owned value. Read more