pub fn iter_node_inputs(
        &self,
        label: impl Into<NodeLabel>,
    ) -> Result<impl Iterator<Item = (&Edge, &NodeState)>, RenderGraphError> {
        let node = self.get_node_state(label)?;
        Ok(node
            .edges
            .input_edges
            .iter()
            .map(|edge| (edge, edge.get_output_node()))
            .map(move |(edge, output_node_id)| {
                (edge, self.get_node_state(output_node_id).unwrap())
            }))
    }
/// Returns an iterator over a tuple of the input edges and the corresponding output nodes
/// for the node referenced by the label.
Returns an iterator over a tuple of the input edges and the corresponding output nodes
for the node referenced by the label.
Returns an iterator over a tuple of the input edges and the corresponding output nodes for the node referenced by the label .
pub fn iter_node_inputs(
        &self,
        label: impl Into<NodeLabel>,
    ) -> Result<impl Iterator<Item = (&Edge, &NodeState)>, RenderGraphError> {
        let node = self.get_node_state(label)?;
        Ok(node
            .edges
            .input_edges
            .iter()
            .map(|edge| (edge, edge.get_output_node()))
            .map(move |(edge, output_node_id)| {
                (edge, self.get_node_state(output_node_id).unwrap())
            }))
    }
pub fn iter_node_inputs ( & self , label : impl Into < NodeLabel > , ) -> Result < impl Iterator < Item = ( & Edge , & NodeState ) > , RenderGraphError > { let node = self . get_node_state ( label ) ? ; Ok ( node . edges . input_edges . iter ( ) . map ( | edge | ( edge , edge . get_output_node ( ) ) ) . map ( move | ( edge , output_node_id ) | { ( edge , self . get_node_state ( output_node_id ) . unwrap ( ) ) } ) ) }
Returns an iterator over a tuple of the input edges and the corresponding output nodes
for the node referenced by the label.
Returns an iterator over a tuple of the input edges and the corresponding output nodes for the node referenced by the label .
&self
label
impl Into<NodeLabel>
&self
label
impl Into<NodeLabel>