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
module: Option<String>
The Purescript module this type comes from. For example for Option<T>
this is
Some("Data.Maybe".to_string())
.
name: String
The Purescript name of this type. For Option<T>
this would be "Maybe".
parameters: Vec<PursConstructor>
The parameters this type accepts. For Option<i32>
this would be the PursConstructor for
i32.
Trait Implementations
impl Clone for PursConstructor
[src]
fn clone(&self) -> PursConstructor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for PursConstructor
[src]
impl Eq for PursConstructor
[src]
impl PartialEq for PursConstructor
[src]
fn eq(&self, __arg_0: &PursConstructor) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PursConstructor) -> bool
This method tests for !=
.