pub enum UseTree {
Name(UseName),
Path(UsePathTree),
Group(UseGroup),
Glob(UseGlob),
}Expand description
Tree form for use items in the bootstrap subset.
Variants§
Name(UseName)
Single imported name.
Path(UsePathTree)
Prefix-plus-child path segment.
Group(UseGroup)
Braced use tree group.
Glob(UseGlob)
Glob import.
Trait Implementations§
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 UnsafeUnpin 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