TransformList

Trait TransformList 

Source
pub trait TransformList<N, E>
where N: Clone, E: Clone,
{ // Required method fn apply(self, graph: &mut StableGraph<N, E>) -> Vec<NodeIndex>; }
Expand description

A list of transformations that should be applied to the graph.

Required Methods§

Source

fn apply(self, graph: &mut StableGraph<N, E>) -> Vec<NodeIndex>

Apply the transformations and return any added nodes.

§Remarks

This consumes the transform list.

Implementations on Foreign Types§

Source§

impl<N, E> TransformList<N, E> for ()
where N: Clone, E: Clone,

Source§

fn apply(self, _graph: &mut StableGraph<N, E>) -> Vec<NodeIndex>

Implementors§

Source§

impl<N, E> TransformList<N, E> for GraphTransforms<N, E>
where N: Clone, E: Clone,