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§
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
fn get_future<Set, Iter>(&self, index_set: Iter) -> Set
Object Safety§
This trait is not object safe.