pub struct RawLoc {
pub filename: PathBuf,
pub lines: Vec<u32>,
}Expand description
Represents a source location in a file system
Fields§
§filename: PathBuf§lines: Vec<u32>Implementations§
Trait Implementations§
impl Eq for RawLoc
impl StructuralPartialEq for RawLoc
Auto Trait Implementations§
impl Freeze for RawLoc
impl RefUnwindSafe for RawLoc
impl Send for RawLoc
impl Sync for RawLoc
impl Unpin for RawLoc
impl UnwindSafe for RawLoc
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)