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