pub struct UseDecl {
pub span: Span,
pub path: StringLiteral,
pub alias: Option<Ident>,
}Expand description
use "path" as alias
Fields§
§span: Span§path: StringLiteral§alias: Option<Ident>Trait Implementations§
Auto Trait Implementations§
impl Freeze for UseDecl
impl RefUnwindSafe for UseDecl
impl Send for UseDecl
impl Sync for UseDecl
impl Unpin for UseDecl
impl UnsafeUnpin for UseDecl
impl UnwindSafe for UseDecl
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