Trait graphs_tools::abs::graph::prelude::GraphEdgesKindGetterInterface
source · [−]pub trait GraphEdgesKindGetterInterface where
Self: GraphNodesNominalInterface + GraphEdgesNominalInterface, {
type EdgeKind: EdgeKindInterface;
fn edge_kind(
&self,
edge_id: <<Self as GraphEdgesNominalInterface>::EdgeHandle as HasId>::Id
) -> Self::EdgeKind;
}
Expand description
Graph nodes of which has a kind.
Required Associated Types
Enumerate kinds of the node.
Required Methods
fn edge_kind(
&self,
edge_id: <<Self as GraphEdgesNominalInterface>::EdgeHandle as HasId>::Id
) -> Self::EdgeKind
fn edge_kind(
&self,
edge_id: <<Self as GraphEdgesNominalInterface>::EdgeHandle as HasId>::Id
) -> Self::EdgeKind
Get kind of the node.