pub struct PreprocessResult {
pub source: String,
pub line_map: Vec<usize>,
pub warnings: Vec<String>,
}Expand description
Result of preprocessing: transformed source + line mapping.
Fields§
§source: StringThe preprocessed source text.
line_map: Vec<usize>Maps output line number (0-based) → original line number (0-based).
warnings: Vec<String>Any warnings generated during preprocessing.
Auto Trait Implementations§
impl Freeze for PreprocessResult
impl RefUnwindSafe for PreprocessResult
impl Send for PreprocessResult
impl Sync for PreprocessResult
impl Unpin for PreprocessResult
impl UnsafeUnpin for PreprocessResult
impl UnwindSafe for PreprocessResult
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