Enum fungi_lang::ast::Type [] [src]

pub enum Type {
    Var(Var),
    Cons(TypeCons),
    Sum(TypeRecTypeRec),
    Prod(TypeRecTypeRec),
    Unit,
    Ref(IdxTmTypeRec),
    Thk(IdxTmCEffectRec),
    IdxApp(TypeRecIdxTm),
    TypeApp(TypeRecTypeRec),
    Nm(IdxTm),
    NmFn(NameTm),
    TypeFn(VarKindTypeRec),
    IdxFn(VarSortTypeRec),
    Rec(VarTypeRec),
    Exists(VarSortRecPropTypeRec),
    NoParse(String),
}

Value types

Variants

Trait Implementations

impl Clone for Type
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Type
[src]

[src]

Formats the value using the given formatter.

impl Eq for Type
[src]

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