Enum gluon_base::types::BuiltinType [] [src]

pub enum BuiltinType {
    String,
    Byte,
    Char,
    Int,
    Float,
    Unit,
    Array,
    Function,
}

All the builtin types of gluon

Variants

Unicode string

Unsigned byte

Character

Integer number

Floating point number

The unit type

Type constructor for arrays, Array a : Type -> Type

Type constructor for functions, (->) a b : Type -> Type -> Type

Methods

impl BuiltinType
[src]

impl BuiltinType
[src]

Trait Implementations

impl Copy for BuiltinType
[src]

impl Clone for BuiltinType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for BuiltinType
[src]

impl PartialEq for BuiltinType
[src]

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

This method tests for !=.

impl Debug for BuiltinType
[src]

Formats the value using the given formatter.

impl Hash for BuiltinType
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl FromStr for BuiltinType
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for BuiltinType
[src]

Formats the value using the given formatter.