Trait graphs_tools::abs::graph::prelude::GraphNodesKindGetterInterface
source · [−]pub trait GraphNodesKindGetterInterface where
Self: GraphNodesNominalInterface, {
type NodeKind: NodeKindInterface;
fn node_kind(
&self,
node_id: <<Self as GraphNodesNominalInterface>::NodeHandle as HasId>::Id
) -> Self::NodeKind;
}
Expand description
Graph nodes of which has a kind.
Required Associated Types
Enumerate kinds of the node.
Required Methods
fn node_kind(
&self,
node_id: <<Self as GraphNodesNominalInterface>::NodeHandle as HasId>::Id
) -> Self::NodeKind
fn node_kind(
&self,
node_id: <<Self as GraphNodesNominalInterface>::NodeHandle as HasId>::Id
) -> Self::NodeKind
Get kind of the node.