pub struct CompileOutput {
pub workshop: String,
pub emitted_workshop: String,
pub hook_console_output: Vec<String>,
}Expand description
A source compile result for ordinary embedding callers.
The result contains only emitted text and hook output. Callers that need canonical WIR should use the explicit advanced artifact APIs instead.
Fields§
§workshop: StringWorkshop text after a declared post-compile hook, if any.
emitted_workshop: StringWorkshop text emitted before a declared post-compile hook.
hook_console_output: Vec<String>Console lines captured while running a declared post-compile hook.
Trait Implementations§
Source§impl Clone for CompileOutput
impl Clone for CompileOutput
Source§fn clone(&self) -> CompileOutput
fn clone(&self) -> CompileOutput
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 CompileOutput
impl Debug for CompileOutput
impl Eq for CompileOutput
Source§impl PartialEq for CompileOutput
impl PartialEq for CompileOutput
impl StructuralPartialEq for CompileOutput
Auto Trait Implementations§
impl Freeze for CompileOutput
impl RefUnwindSafe for CompileOutput
impl Send for CompileOutput
impl Sync for CompileOutput
impl Unpin for CompileOutput
impl UnsafeUnpin for CompileOutput
impl UnwindSafe for CompileOutput
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