Enum ra_ap_hir_def::path::ImportAlias [−][src]
pub enum ImportAlias { Underscore, Alias(Name), }
Variants
Unnamed alias, as in use Foo as _;
Alias(Name)
Named alias
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImportAlias
impl Send for ImportAlias
impl Sync for ImportAlias
impl Unpin for ImportAlias
impl UnwindSafe for ImportAlias
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.