Enum genco::dart::Dart[][src]

pub enum Dart<'el> {
    BuiltIn {
        name: &'static str,
    },
    Void,
    Dynamic,
    Type(Type<'el>),
}

Dart token specialization.

Variants

built-in type.

Fields of BuiltIn

The built-in type.

the void type.

the dynamic type.

referenced types.

Methods

impl<'el> Dart<'el>
[src]

Change the imported alias for this type.

Change the imported name for this type.

Add arguments to the given variable.

Only applies to classes, any other will return the same value.

Get the arguments.

Check if variable is built-in.

Convert into raw type. Raw types have no alias, nor generic arguments.

Check if this type belongs to a core package.

Check if type is generic.

Trait Implementations

impl<'el> Debug for Dart<'el>
[src]

Formats the value using the given formatter. Read more

impl<'el> Clone for Dart<'el>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'el> Hash for Dart<'el>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'el> PartialOrd for Dart<'el>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'el> Ord for Dart<'el>
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<'el> PartialEq for Dart<'el>
[src]

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

This method tests for !=.

impl<'el> Eq for Dart<'el>
[src]

impl<'el> From<Dart<'el>> for Tokens<'el, Dart<'el>>
[src]

Performs the conversion.

impl<'el> From<&'el Dart<'el>> for Tokens<'el, Dart<'el>>
[src]

Performs the conversion.

impl<'el> Custom for Dart<'el>
[src]

Extra data associated with building a formatting element.

Format the custom element.

Performing quoting according to convention set by custom element.

Write a file according to convention by custom element.

Auto Trait Implementations

impl<'el> !Send for Dart<'el>

impl<'el> !Sync for Dart<'el>