Trait dag::TreeGraph

source ·
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§

source

fn parent(&self, node_index: Self::NodeIndex) -> Option<Self::NodeIndex>

source

fn referees(&self, node_index: Self::NodeIndex) -> Vec<Self::NodeIndex>

Object Safety§

This trait is not object safe.

Implementors§