pub struct SourceListing {
pub path: String,
pub current_line: u64,
pub lines: Vec<(u64, String)>,
}Expand description
Lines of source around a step.
Fields§
§path: String§current_line: u64§lines: Vec<(u64, String)>One-based line numbers with their text.
Trait Implementations§
Source§impl Clone for SourceListing
impl Clone for SourceListing
Source§impl Debug for SourceListing
impl Debug for SourceListing
impl Eq for SourceListing
Source§impl PartialEq for SourceListing
impl PartialEq for SourceListing
impl StructuralPartialEq for SourceListing
Auto Trait Implementations§
impl Freeze for SourceListing
impl RefUnwindSafe for SourceListing
impl Send for SourceListing
impl Sync for SourceListing
impl Unpin for SourceListing
impl UnsafeUnpin for SourceListing
impl UnwindSafe for SourceListing
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