pub trait GraphNodesKindGetterInterface: GraphNodesNominalInterface {
type NodeKind: NodeKindInterface;
// Required method
fn node_kind(
&self,
node_id: <Self::NodeHandle as HasId>::Id,
) -> Self::NodeKind;
}
Expand description
Graph nodes of which has a kind.
Required Associated Types§
Sourcetype NodeKind: NodeKindInterface
type NodeKind: NodeKindInterface
Enumerate kinds of the node.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.