Struct ketos::scope::ImportSet [] [src]

pub struct ImportSet {
    pub module_name: Name,
    pub names: Vec<(Name, Name)>,
}

Represents a set of names imported from a module.

Each import consists of a pair of names: a source name and a destination name. These are, respectively, the name of the value as it resides within the remote module and the name to which it will be assigned in the local scope.

Fields

Name of module from which to import

Names which are imported

Methods

impl ImportSet
[src]

Convenience method to create an empty ImportSet for the named module.

Trait Implementations

impl Clone for ImportSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more