pub struct Preprocessed {
pub text: String,
pub messages: Vec<String>,
pub errors: u32,
}Expand description
What preprocessing one file produced.
Fields§
§text: StringThe text to write, empty when the file could not be read.
messages: Vec<String>The diagnostics, already rendered, one per line, in the order they were reported.
errors: u32How many of them were errors.
Implementations§
Trait Implementations§
Source§impl Clone for Preprocessed
impl Clone for Preprocessed
Source§fn clone(&self) -> Preprocessed
fn clone(&self) -> Preprocessed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Preprocessed
impl Debug for Preprocessed
impl Eq for Preprocessed
Source§impl PartialEq for Preprocessed
impl PartialEq for Preprocessed
impl StructuralPartialEq for Preprocessed
Auto Trait Implementations§
impl Freeze for Preprocessed
impl RefUnwindSafe for Preprocessed
impl Send for Preprocessed
impl Sync for Preprocessed
impl Unpin for Preprocessed
impl UnsafeUnpin for Preprocessed
impl UnwindSafe for Preprocessed
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