Enum genco::js::JavaScript [] [src]

pub enum JavaScript<'el> {
    ImportedAlias {
        module: Cow<'el, str>,
        name: Cow<'el, str>,
        alias: Cow<'el, str>,
    },
}

JavaScript token specialization.

Variants

An imported module as an alias.

Fields of ImportedAlias

Module of the imported name.

Name imported.

Alias of module.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

Extra data associated with building a formatting element.

[src]

Format the custom element.

[src]

Performing quoting according to convention set by custom element.

[src]

Write a file according to convention by custom element.

Auto Trait Implementations

impl<'el> Send for JavaScript<'el>

impl<'el> Sync for JavaScript<'el>