Skip to main content

CheckingRule

Trait CheckingRule 

Source
pub trait CheckingRule<Split: SplitStrategy>: CheckerRule {
    // Required methods
    fn applicable(
        &self,
        checker: &CheckRef<'_, '_, Split>,
        term: &Term,
        tp: &Term,
    ) -> bool;
    fn apply<'t>(
        &self,
        checker: CheckRef<'t, '_, Split>,
        term: &'t Term,
        tp: &'t Term,
    ) -> Option<bool>;
}

Required Methods§

Source

fn applicable( &self, checker: &CheckRef<'_, '_, Split>, term: &Term, tp: &Term, ) -> bool

Source

fn apply<'t>( &self, checker: CheckRef<'t, '_, Split>, term: &'t Term, tp: &'t Term, ) -> Option<bool>

Implementors§