pub struct Source {
pub text: String,
pub positions: Vec<Pos>,
pub options: Vec<String>,
pub debugging: Option<Vec<(u16, u32)>>,
}Fields§
§text: String§positions: Vec<Pos>For each char of text, where it came from.
options: Vec<String>§debugging: Option<Vec<(u16, u32)>>None when debugging lines (D in column 7) were read as comments; else the file and line of each one read as program text.
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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