pub struct CompileProduct {
pub story: Option<Arc<StoryData>>,
pub errors: Vec<Diagnostic>,
pub warnings: Vec<Diagnostic>,
}Expand description
Outcome of the full pipeline: compiled StoryData or the diagnostics
that prevented it. Batch compile = pull this one query (spec §5).
Fields§
§story: Option<Arc<StoryData>>The compiled story, if compilation succeeded.
errors: Vec<Diagnostic>Error-severity diagnostics (compilation failed if non-empty).
warnings: Vec<Diagnostic>Warning-severity diagnostics.
Trait Implementations§
Source§impl Clone for CompileProduct
impl Clone for CompileProduct
Source§fn clone(&self) -> CompileProduct
fn clone(&self) -> CompileProduct
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 CompileProduct
impl Debug for CompileProduct
Source§impl Default for CompileProduct
impl Default for CompileProduct
Source§fn default() -> CompileProduct
fn default() -> CompileProduct
Returns the “default value” for a type. Read more
Source§impl PartialEq for CompileProduct
impl PartialEq for CompileProduct
impl StructuralPartialEq for CompileProduct
Auto Trait Implementations§
impl Freeze for CompileProduct
impl RefUnwindSafe for CompileProduct
impl Send for CompileProduct
impl Sync for CompileProduct
impl Unpin for CompileProduct
impl UnsafeUnpin for CompileProduct
impl UnwindSafe for CompileProduct
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