Enum fungi_lang::bitype::ValRule [] [src]

pub enum ValRule {
    Var(Var),
    Unit,
    Pair(ValDerValDer),
    Inj1(ValDer),
    Inj2(ValDer),
    Roll(ValDer),
    Pack(IdxTmDerValDer),
    Name(Name),
    NameFn(NmTmDer),
    Anno(ValDerType),
    ThunkAnon(Der<ExpRule>),
    Bool(bool),
    Nat(usize),
    Str(String),
    NoParse(String),
}

Value typing rule

Variants

Trait Implementations

impl DerRule for ValRule
[src]

[src]

short term family description

[src]

short name for rule

impl Clone for ValRule
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ValRule
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for ValRule
[src]

impl PartialEq for ValRule
[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 Hash for ValRule
[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

impl HasClas for ValRule
[src]

[src]

Auto Trait Implementations

impl !Send for ValRule

impl !Sync for ValRule