pub struct SourceMappedCompileOutput {
pub diagram: Option<Diagram>,
pub source_map: Option<SourceMap>,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Output of compilation with the Rust-only source-map sidecar.
Fields§
§diagram: Option<Diagram>Normalized diagram, present only when no compiler-stage error occurred.
source_map: Option<SourceMap>Source map corresponding to diagram, absent whenever diagram is absent.
diagnostics: Vec<Diagnostic>Lexical, syntax, semantic, and complexity diagnostics.
Trait Implementations§
Source§impl Clone for SourceMappedCompileOutput
impl Clone for SourceMappedCompileOutput
Source§fn clone(&self) -> SourceMappedCompileOutput
fn clone(&self) -> SourceMappedCompileOutput
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 SourceMappedCompileOutput
impl Debug for SourceMappedCompileOutput
impl Eq for SourceMappedCompileOutput
impl StructuralPartialEq for SourceMappedCompileOutput
Auto Trait Implementations§
impl Freeze for SourceMappedCompileOutput
impl RefUnwindSafe for SourceMappedCompileOutput
impl Send for SourceMappedCompileOutput
impl Sync for SourceMappedCompileOutput
impl Unpin for SourceMappedCompileOutput
impl UnsafeUnpin for SourceMappedCompileOutput
impl UnwindSafe for SourceMappedCompileOutput
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