Enum fungi_lang::bitype::Dir [] [src]

pub enum Dir<R: HasClas + DerRule> {
    Synth,
    Check(R::Clas),
}

Bidirectional direction: Synthesis vs Checking

Checking direction has an associated system of rules, and classifier for the check, e.g., the system of rules for values and expressions check against a Type or a CEffect, respectively.

Variants

Trait Implementations

impl<R: Clone + HasClas + DerRule> Clone for Dir<R> where
    R::Clas: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<R: Debug + HasClas + DerRule> Debug for Dir<R> where
    R::Clas: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<R: Eq + HasClas + DerRule> Eq for Dir<R> where
    R::Clas: Eq
[src]

impl<R: PartialEq + HasClas + DerRule> PartialEq for Dir<R> where
    R::Clas: PartialEq
[src]

[src]

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

[src]

This method tests for !=.

impl<R: Hash + HasClas + DerRule> Hash for Dir<R> where
    R::Clas: Hash
[src]

[src]

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

1.3.0
[src]

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

Auto Trait Implementations

impl<R> Send for Dir<R> where
    <R as HasClas>::Clas: Send

impl<R> Sync for Dir<R> where
    <R as HasClas>::Clas: Sync