Trait moore_common::score::NodeRef
source · [−]pub trait NodeRef: Copy + Eq + Ord + Hash + Debug + Into<NodeId> {
fn new(id: NodeId) -> Self;
fn alloc() -> Self { ... }
}
Expand description
A reference to a node.
Newtypes around NodeId
should implement this trait to offer functionality
common to all node references.