nu_protocol::engine

Trait Matcher

Source
pub trait Matcher {
    // Required method
    fn match_value(
        &self,
        value: &Value,
        matches: &mut Vec<(VarId, Value)>,
    ) -> bool;
}

Required Methods§

Source

fn match_value(&self, value: &Value, matches: &mut Vec<(VarId, Value)>) -> bool

Implementors§