Struct purescript_waterslide::PursConstructor [] [src]

pub struct PursConstructor {
    pub module: Option<String>,
    pub name: String,
    pub parameters: Vec<PursConstructor>,
}

Represents a Purescript type name with its parameters and which module it comes from.

Fields

The Purescript module this type comes from. For example for Option<T> this is Some("Data.Maybe".to_string()).

The Purescript name of this type. For Option<T> this would be "Maybe".

The parameters this type accepts. For Option<i32> this would be the PursConstructor for i32.

Trait Implementations

impl Clone for PursConstructor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PursConstructor
[src]

Formats the value using the given formatter.

impl Eq for PursConstructor
[src]

impl PartialEq for PursConstructor
[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 PursConstructor
[src]

Formats the value using the given formatter. Read more