Enum rgo::ast::ImportKind
[−]
[src]
pub enum ImportKind { Normal, Alias(String), Glob, }
Variants
Normal
Regular import: the kind you encounter most often.
Alias(String)
Aliased import: defines an alias for the imported package.
Glob
Glob import: all the package's exported identifiers will be declared in the importing source file.
Trait Implementations
impl Debug for ImportKind
[src]
impl Clone for ImportKind
[src]
fn clone(&self) -> ImportKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ImportKind
[src]
fn eq(&self, __arg_0: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ImportKind) -> bool
This method tests for !=
.