pub struct DominatingImportOutput {
pub importer: String,
pub line: Option<u32>,
pub target: String,
pub exclusive_bytes: u64,
pub exclusive_modules: usize,
}Expand description
One import that alone keeps a subtree of the eager modules eager.
Fields§
§importer: StringFile that contains the import, relative to the analysed root.
line: Option<u32>1-based line of the import binding; absent when the edge has no
binding span, such as an export ... from re-export or an eager glob
match.
target: StringImported file, relative to the analysed root.
exclusive_bytes: u64Source bytes that leave the eager modules if this import becomes an
import().
exclusive_modules: usizeModules that leave the eager modules if this import becomes an
import().
Trait Implementations§
Source§impl Clone for DominatingImportOutput
impl Clone for DominatingImportOutput
Source§impl Debug for DominatingImportOutput
impl Debug for DominatingImportOutput
Auto Trait Implementations§
impl Freeze for DominatingImportOutput
impl RefUnwindSafe for DominatingImportOutput
impl Send for DominatingImportOutput
impl Sync for DominatingImportOutput
impl Unpin for DominatingImportOutput
impl UnsafeUnpin for DominatingImportOutput
impl UnwindSafe for DominatingImportOutput
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