Enum hindley_milner::Type [] [src]

pub enum Type {
    Variable {
        id: ArenaType,
        instance: Option<ArenaType>,
    },
    Operator {
        id: ArenaType,
        name: String,
        types: Vec<ArenaType>,
    },
}

Variants

Fields of Variable

Fields of Operator

Trait Implementations

impl Debug for Type
[src]

Formats the value using the given formatter.

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 Eq for Type
[src]

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