pub struct PreprocessOutcome {
pub result: OpyResult<(Preprocessed, Vec<FileRecord>)>,
pub files: Vec<FileRecord>,
}Expand description
The outcome of preprocessing with overlays, retaining the file registry registered so far even when a directive or expansion fails, so callers can map an error’s span file id to its actual source.
Fields§
§result: OpyResult<(Preprocessed, Vec<FileRecord>)>§files: Vec<FileRecord>Auto Trait Implementations§
impl Freeze for PreprocessOutcome
impl RefUnwindSafe for PreprocessOutcome
impl Send for PreprocessOutcome
impl Sync for PreprocessOutcome
impl Unpin for PreprocessOutcome
impl UnsafeUnpin for PreprocessOutcome
impl UnwindSafe for PreprocessOutcome
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