pub struct ImportSite {
pub path: PathBuf,
pub line: u32,
pub col: u32,
}Expand description
A location where an import occurs.
Fields§
§path: PathBufFile containing the import.
line: u321-based line number.
col: u320-based byte column offset.
Trait Implementations§
Source§impl Clone for ImportSite
impl Clone for ImportSite
Source§impl Debug for ImportSite
impl Debug for ImportSite
Source§impl<'de> Deserialize<'de> for ImportSite
impl<'de> Deserialize<'de> for ImportSite
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 ImportSite
impl RefUnwindSafe for ImportSite
impl Send for ImportSite
impl Sync for ImportSite
impl Unpin for ImportSite
impl UnsafeUnpin for ImportSite
impl UnwindSafe for ImportSite
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