/// Find the node assigned to a value parameter.
Find the node assigned to a value parameter.
Find the node assigned to a value parameter .
pub fn reverse_find_value(&self, node_id: NodeId) -> Option<NodeId> {
        self.values
            .iter()
            .flat_map(|&(param_id, binding)| match binding {
                ParamEnvBinding::Indirect(bound_id) if bound_id.id() == node_id => Some(param_id),
                _ => None,
            })
            .next()
    }
pub fn reverse_find_value ( & self , node_id : NodeId ) -> Option < NodeId > { self . values . iter ( ) . flat_map ( | & ( param_id , binding ) | match binding { ParamEnvBinding :: Indirect ( bound_id ) if bound_id . id ( ) == node_id => Some ( param_id ) , _ => None , } ) . next ( ) }
Find the node assigned to a value parameter.
Find the node assigned to a value parameter .
&self
node_id
NodeId