Skip to main content

InhabitableRule

Trait InhabitableRule 

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

Required Methodsยง

Source

fn applicable(&self, term: &Term) -> bool

Source

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

Dyn Compatibilityยง

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementorsยง