[][src]Trait razor_fol::transform::Substitution

pub trait Substitution {
    fn apply(&self, v: &V) -> Term;
}

Is the trait of types that map variables to terms.

Required methods

fn apply(&self, v: &V) -> Term

Maps v to a Term.

Loading content...

Implementations on Foreign Types

impl<'_> Substitution for HashMap<&'_ V, Term>[src]

Any map from V to Term is a substitution.

Loading content...

Implementors

impl<F> Substitution for F where
    F: Fn(&V) -> Term
[src]

Any function from V to Term is a substitution.

Loading content...