pub struct UseItem<'a> {
pub id: Ident<'a>,
pub as_id: Option<Ident<'a>>,
}
Expand description
Represents a use item in the AST.
Fields§
§id: Ident<'a>
The identifier of the item.
as_id: Option<Ident<'a>>
The optional as
identifier of the item.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for UseItem<'a>
impl<'a> RefUnwindSafe for UseItem<'a>
impl<'a> Send for UseItem<'a>
impl<'a> Sync for UseItem<'a>
impl<'a> Unpin for UseItem<'a>
impl<'a> UnwindSafe for UseItem<'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