pub struct ReferenceLocation {
pub path: PathBuf,
pub line: u32,
pub col: u32,
}Expand description
A location where an export is referenced (import site in another file).
Fields§
§path: PathBufFile containing the import that references the export.
line: u321-based line number.
col: u320-based byte column offset.
Trait Implementations§
Source§impl Clone for ReferenceLocation
impl Clone for ReferenceLocation
Source§impl Debug for ReferenceLocation
impl Debug for ReferenceLocation
Source§impl<'de> Deserialize<'de> for ReferenceLocation
impl<'de> Deserialize<'de> for ReferenceLocation
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 ReferenceLocation
impl RefUnwindSafe for ReferenceLocation
impl Send for ReferenceLocation
impl Sync for ReferenceLocation
impl Unpin for ReferenceLocation
impl UnsafeUnpin for ReferenceLocation
impl UnwindSafe for ReferenceLocation
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