pub struct UseItem<'ast> {
pub name: Name<'ast>,
pub alias: Option<&'ast Token>,
pub kind: UseKind,
pub span: Span,
}Fields§
§name: Name<'ast>§alias: Option<&'ast Token>§kind: UseKind§span: SpanTrait Implementations§
impl<'ast> Copy for UseItem<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for UseItem<'ast>
impl<'ast> RefUnwindSafe for UseItem<'ast>
impl<'ast> Send for UseItem<'ast>
impl<'ast> Sync for UseItem<'ast>
impl<'ast> Unpin for UseItem<'ast>
impl<'ast> UnwindSafe for UseItem<'ast>
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