pub struct RawImport {
pub specifier: String,
pub names: Vec<ImportName>,
pub is_type_only: bool,
pub is_side_effect: bool,
pub is_namespace: bool,
pub line: usize,
}Expand description
An unresolved import statement extracted from source code. Converted to resolved edges during the resolution phase (S04).
Fields§
§specifier: String§names: Vec<ImportName>§is_type_only: bool§is_side_effect: bool§is_namespace: bool§line: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for RawImport
impl RefUnwindSafe for RawImport
impl Send for RawImport
impl Sync for RawImport
impl Unpin for RawImport
impl UnsafeUnpin for RawImport
impl UnwindSafe for RawImport
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