pub struct UnresolvedImport {
pub path: PathBuf,
pub specifier: String,
pub line: u32,
pub col: u32,
pub specifier_col: u32,
}Expand description
An import that could not be resolved.
Fields§
§path: PathBufFile containing the unresolved import.
specifier: StringThe import specifier that could not be resolved.
line: u321-based line number.
col: u320-based byte column offset of the import statement.
specifier_col: u320-based byte column offset of the source string literal (the specifier in quotes). Used by the LSP to underline just the specifier, not the entire import line.
Trait Implementations§
Source§impl Clone for UnresolvedImport
impl Clone for UnresolvedImport
Source§impl Debug for UnresolvedImport
impl Debug for UnresolvedImport
Source§impl<'de> Deserialize<'de> for UnresolvedImport
impl<'de> Deserialize<'de> for UnresolvedImport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UnresolvedImport
impl RefUnwindSafe for UnresolvedImport
impl Send for UnresolvedImport
impl Sync for UnresolvedImport
impl Unpin for UnresolvedImport
impl UnsafeUnpin for UnresolvedImport
impl UnwindSafe for UnresolvedImport
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