Struct rustc_resolve::check_unused::UnusedImport
source · struct UnusedImport<'a> {
use_tree: &'a UseTree,
use_tree_id: NodeId,
item_span: Span,
unused: FxHashSet<NodeId>,
}
Fields
use_tree: &'a UseTree
use_tree_id: NodeId
item_span: Span
unused: FxHashSet<NodeId>
Implementations
sourceimpl<'a> UnusedImport<'a>
impl<'a> UnusedImport<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for UnusedImport<'a>
impl<'a> !Send for UnusedImport<'a>
impl<'a> !Sync for UnusedImport<'a>
impl<'a> Unpin for UnusedImport<'a>
impl<'a> !UnwindSafe for UnusedImport<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes