pub struct Location<'pr> { /* private fields */ }Expand description
A range in the source file, represented as a start offset and length.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'pr> Freeze for Location<'pr>
impl<'pr> RefUnwindSafe for Location<'pr>
impl<'pr> !Send for Location<'pr>
impl<'pr> !Sync for Location<'pr>
impl<'pr> Unpin for Location<'pr>
impl<'pr> UnwindSafe for Location<'pr>
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