pub struct Use<'a> {
pub docs: Vec<DocComment<'a>>,
pub path: UsePath<'a>,
pub items: Vec<UseItem<'a>>,
}
Expand description
Represents a “use” in the AST.
Fields§
§docs: Vec<DocComment<'a>>
The doc comments for the use.
path: UsePath<'a>
The path to the interface or world being used.
items: Vec<UseItem<'a>>
The items being used.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Use<'a>
impl<'a> RefUnwindSafe for Use<'a>
impl<'a> Send for Use<'a>
impl<'a> Sync for Use<'a>
impl<'a> Unpin for Use<'a>
impl<'a> UnwindSafe for Use<'a>
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