pub struct Span<'f> {
pub file: &'f str,
pub start: Location,
pub end: Location,
}
Fields§
§file: &'f str
§start: Location
§end: Location
Trait Implementations§
impl<'f> StructuralPartialEq for Span<'f>
Auto Trait Implementations§
impl<'f> Freeze for Span<'f>
impl<'f> RefUnwindSafe for Span<'f>
impl<'f> Send for Span<'f>
impl<'f> Sync for Span<'f>
impl<'f> Unpin for Span<'f>
impl<'f> UnwindSafe for Span<'f>
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