Enum rgo::ast::ImportKind [] [src]

pub enum ImportKind {
    Normal,
    Alias(String),
    Glob,
}

Variants

Regular import: the kind you encounter most often.

Aliased import: defines an alias for the imported package.

Glob import: all the package's exported identifiers will be declared in the importing source file.

Trait Implementations

impl Debug for ImportKind
[src]

Formats the value using the given formatter.

impl Clone for ImportKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ImportKind
[src]

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

This method tests for !=.

impl Eq for ImportKind
[src]