pub struct Place {
pub file: PathBuf,
pub at: Option<(usize, usize)>,
}Expand description
A place in a file: the file, and the line and column where known.
Fields§
§file: PathBufThe file.
at: Option<(usize, usize)>The line and column, each counted from 1.
Trait Implementations§
impl Eq for Place
impl StructuralPartialEq for Place
Auto Trait Implementations§
impl Forget for Place
impl Freeze for Place
impl Move for Place
impl RefUnwindSafe for Place
impl Send for Placewhere
RawVecInner: Send,
impl Sync for Placewhere
RawVecInner: Sync,
impl Unpin for Place
impl UnsafeUnpin for Place
impl UnwindSafe for Placewhere
RawVecInner: UnwindSafe,
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