pub struct UseDecl {
pub kind: UseKind,
pub uses: Box<[UseItem]>,
}Expand description
A use import declaration.
Fields§
§kind: UseKindImport kind (class, function or const).
uses: Box<[UseItem]>The imported items.
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