pub(crate) fn add_input_edge(&mut self, edge: Edge) -> Result<(), RenderGraphError> {
        if self.has_input_edge(&edge) {
            return Err(RenderGraphError::EdgeAlreadyExists(edge));
        }
        self.input_edges.push(edge);
        Ok(())
    }
/// Adds an edge to the `input_edges` if it does not already exist.
Adds an edge to the `input_edges` if it does not already exist.
Adds an edge to the ` input_edges ` if it does not already exist .
pub(crate) fn add_input_edge(&mut self, edge: Edge) -> Result<(), RenderGraphError> {
        if self.has_input_edge(&edge) {
            return Err(RenderGraphError::EdgeAlreadyExists(edge));
        }
        self.input_edges.push(edge);
        Ok(())
    }
pub ( crate ) fn add_input_edge ( & mut self , edge : Edge ) -> Result < ( ) , RenderGraphError > { if self . has_input_edge ( & edge ) { return Err ( RenderGraphError :: EdgeAlreadyExists ( edge ) ) ; } self . input_edges . push ( edge ) ; Ok ( ( ) ) }
Adds an edge to the `input_edges` if it does not already exist.
Adds an edge to the ` input_edges ` if it does not already exist .
&mut self
edge
Edge
&mut self
edge
Edge