Enum ra_ap_hir_def::item_tree::UseTreeKind [−][src]
pub enum UseTreeKind { Single { path: Interned<ModPath>, alias: Option<ImportAlias>, }, Glob { path: Option<Interned<ModPath>>, }, Prefixed { prefix: Option<Interned<ModPath>>, list: Box<[UseTree]>, }, }
Variants
use path::to::Item; use path::to::Item as Renamed; use path::to::Trait as _;
Show fields
Fields of Single
path: Interned<ModPath>
alias: Option<ImportAlias>
use *; // (invalid, but can occur in nested tree) use path::*;
use prefix::{self, Item, ...};
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 UseTreeKind
impl Send for UseTreeKind
impl Sync for UseTreeKind
impl Unpin for UseTreeKind
impl UnwindSafe for UseTreeKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.