Struct fungi_lang::decide::Dec[][src]

pub struct Dec<Rule: HasClas> {
    pub ctx: RelCtx,
    pub rule: Rc<Rule>,
    pub clas: Rule::Clas,
    pub res: Result<bool, DecError>,
}

Derivation for a decision procedure, expressed as deductive inference rules

Fields

Trait Implementations

impl<X: HasClas> Display for Dec<X>
[src]

Formats the value using the given formatter. Read more

impl<Rule: Clone + HasClas> Clone for Dec<Rule> where
    Rule::Clas: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Rule: Debug + HasClas> Debug for Dec<Rule> where
    Rule::Clas: Debug
[src]

Formats the value using the given formatter. Read more

impl<Rule: Eq + HasClas> Eq for Dec<Rule> where
    Rule::Clas: Eq
[src]

impl<Rule: PartialEq + HasClas> PartialEq for Dec<Rule> where
    Rule::Clas: PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<Rule: Hash + HasClas> Hash for Dec<Rule> where
    Rule::Clas: Hash
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<Rule> !Send for Dec<Rule>

impl<Rule> !Sync for Dec<Rule>