pub struct Location<'a> {
pub file: Option<&'a str>,
pub line: Option<u32>,
pub column: Option<u32>,
}
Expand description
A source location.
Fields§
§file: Option<&'a str>
The file name.
line: Option<u32>
The line number.
column: Option<u32>
The column number.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Location<'a>
impl<'a> Send for Location<'a>
impl<'a> Sync for Location<'a>
impl<'a> Unpin for Location<'a>
impl<'a> UnwindSafe for Location<'a>
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