RuleLike

Trait RuleLike 

pub trait RuleLike {
    type A: Action<Single>;
    type P: PredicateInner;

    // Required methods
    fn action(&self) -> &Self::A;
    fn predicate(&self) -> &Predicate<Self::P>;
}

Required Associated Types§

Required Methods§

fn action(&self) -> &Self::A

fn predicate(&self) -> &Predicate<Self::P>

Implementors§

§

impl<P, A> RuleLike for rapimt::im::ib::rule::Rule<P, A>

§

type A = A

§

type P = P

§

impl<P, A> RuleLike for rapimt::prelude::Rule<P, A>

§

type A = A

§

type P = P