pub trait TreeGraph: Graph {
// Required methods
fn parent(&self, node_index: Self::NodeIndex) -> Option<Self::NodeIndex>;
fn referees(&self, node_index: Self::NodeIndex) -> Vec<Self::NodeIndex>;
}
Required Methods§
fn parent(&self, node_index: Self::NodeIndex) -> Option<Self::NodeIndex>
fn referees(&self, node_index: Self::NodeIndex) -> Vec<Self::NodeIndex>
Object Safety§
This trait is not object safe.