pub enum UseTree {
Tree(Vec<UseTree>),
Path(PathPart, Box<UseTree>),
Alias(Sym, Sym),
Name(Sym),
Glob,
}
Expand description
A tree of Item imports
Variants§
Trait Implementations§
source§impl PartialEq for UseTree
impl PartialEq for UseTree
impl Eq for UseTree
impl StructuralPartialEq for UseTree
Auto Trait Implementations§
impl Freeze for UseTree
impl RefUnwindSafe for UseTree
impl Send for UseTree
impl Sync for UseTree
impl Unpin for UseTree
impl UnwindSafe for UseTree
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more