Enum genco::rust::Rust [] [src]

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

Rust token specialization.

Variants

An imported name.

Fields of Imported

Module of the imported name.

Name imported.

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 Rust<'el>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'el> Clone for Rust<'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<Rust<'el>> for Tokens<'el, Rust<'el>>
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl<'el> Custom for Rust<'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 Rust<'el>

impl<'el> Sync for Rust<'el>