Enum purescript_waterslide::PursType [] [src]

pub enum PursType {
    Struct(PursConstructorVec<(String, PursConstructor)>),
    TupleStruct(PursConstructorVec<PursConstructor>),
    Enum(PursConstructorVec<PursConstructor>),
}

The representation for a Purescript data type declaration. The PursType for a Rust struct and enum can be obtained by deriving the AsPursType trait.

Variants

A purescript record

A purescript type constructor with arguments

A purescript data type with multiple constructors

Trait Implementations

impl Clone for PursType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PursType
[src]

Formats the value using the given formatter.

impl PartialEq for PursType
[src]

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

This method tests for !=.

impl Display for PursType
[src]

Formats the value using the given formatter. Read more