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

pub enum Type {
    Var(Var),
    Ident(Ident),
    Abstract(Ident),
    Prim(PrimType),
    IdentDef(IdentTypeRec),
    IdentUndef(Ident),
    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 Display for Type
[src]

Formats the value using the given formatter. Read more

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Type
[src]

Formats the value using the given formatter. Read more

impl Eq for Type
[src]

impl PartialEq for Type
[src]

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

This method tests for !=.

impl Hash for Type
[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 !Send for Type

impl !Sync for Type