pub struct Source<'s>(/* private fields */);
Expand description
The source text that the spans “reference”
Trait Implementations§
Auto Trait Implementations§
impl<'s> Freeze for Source<'s>
impl<'s> RefUnwindSafe for Source<'s>
impl<'s> Send for Source<'s>
impl<'s> Sync for Source<'s>
impl<'s> Unpin for Source<'s>
impl<'s> UnwindSafe for Source<'s>
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