NodeWrapper

Trait NodeWrapper 

Source
pub trait NodeWrapper: Copy + Into<NodeIndex> {
    // Provided methods
    fn input_stores(
        self,
        graph: &Graph,
    ) -> impl Iterator<Item = StoreWrapper> + '_ { ... }
    fn output_stores(
        self,
        graph: &Graph,
    ) -> impl Iterator<Item = StoreWrapper> + '_ { ... }
    fn input_execution(
        self,
        graph: &Graph,
    ) -> impl Iterator<Item = NodeIndex> + '_ { ... }
    fn output_execution(
        self,
        graph: &Graph,
    ) -> impl Iterator<Item = NodeIndex> + '_ { ... }
    fn run_after(self, graph: &mut Graph, node: NodeIndex) { ... }
    fn run_before(self, graph: &mut Graph, node: NodeIndex) { ... }
}

Provided Methods§

Source

fn input_stores(self, graph: &Graph) -> impl Iterator<Item = StoreWrapper> + '_

Source

fn output_stores(self, graph: &Graph) -> impl Iterator<Item = StoreWrapper> + '_

Source

fn input_execution(self, graph: &Graph) -> impl Iterator<Item = NodeIndex> + '_

Source

fn output_execution(self, graph: &Graph) -> impl Iterator<Item = NodeIndex> + '_

Source

fn run_after(self, graph: &mut Graph, node: NodeIndex)

Adds an execution flow from the given node to this node.

Source

fn run_before(self, graph: &mut Graph, node: NodeIndex)

Adds an execution flow from this node to the given node.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§