Trait dag::RichDAG

source ·
pub trait RichDAG: DAG {
    // Required method
    fn successor_edges(
        &self,
        node_index: Self::NodeIndex
    ) -> Vec<Self::NodeIndex>;

    // Provided methods
    fn get_future_with_stop_condition<FStop, Set, Iter>(
        &self,
        index_set: Iter,
        stop_condition: FStop
    ) -> Set
       where FStop: Fn(Self::NodeIndex) -> bool,
             Set: SetLike<Self::NodeIndex> + Default,
             Iter: IntoIterator<Item = Self::NodeIndex> { ... }
    fn get_future<Set, Iter>(&self, index_set: Iter) -> Set
       where Set: SetLike<Self::NodeIndex> + Default,
             Iter: IntoIterator<Item = Self::NodeIndex> { ... }
}

Required Methods§

source

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

Provided Methods§

source

fn get_future_with_stop_condition<FStop, Set, Iter>( &self, index_set: Iter, stop_condition: FStop ) -> Set
where FStop: Fn(Self::NodeIndex) -> bool, Set: SetLike<Self::NodeIndex> + Default, Iter: IntoIterator<Item = Self::NodeIndex>,

source

fn get_future<Set, Iter>(&self, index_set: Iter) -> Set
where Set: SetLike<Self::NodeIndex> + Default, Iter: IntoIterator<Item = Self::NodeIndex>,

Object Safety§

This trait is not object safe.

Implementors§