pub struct BrowserArtifacts {
pub ast_graph: BrowserAstGraph,
pub hir_graph: BrowserHirGraph,
pub mir_graph: BrowserMirGraph,
pub rust_source: String,
pub wat_source: String,
pub wasm_bytes: Option<Vec<u8>>,
pub wasm_diagnostics: Vec<WasmDiagnostic>,
}Expand description
Browser-facing compilation artifacts captured from the pipeline.
Fields§
§ast_graph: BrowserAstGraphBrowser graph derived from the expanded AST.
hir_graph: BrowserHirGraphBrowser graph derived from HIR.
mir_graph: BrowserMirGraphBrowser graph derived from MIR.
rust_source: StringGenerated Rust source text.
wat_source: StringGenerated WAT source text.
wasm_bytes: Option<Vec<u8>>Generated WASM bytes when validation succeeds.
wasm_diagnostics: Vec<WasmDiagnostic>Diagnostics emitted while building WASM artifacts.
Trait Implementations§
Source§impl Clone for BrowserArtifacts
impl Clone for BrowserArtifacts
Source§fn clone(&self) -> BrowserArtifacts
fn clone(&self) -> BrowserArtifacts
Returns a copy of the value. Read more
1.0.0 · 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 BrowserArtifacts
impl Debug for BrowserArtifacts
Source§impl Default for BrowserArtifacts
impl Default for BrowserArtifacts
Source§fn default() -> BrowserArtifacts
fn default() -> BrowserArtifacts
Returns the “default value” for a type. Read more
Source§impl PartialEq for BrowserArtifacts
impl PartialEq for BrowserArtifacts
impl Eq for BrowserArtifacts
impl StructuralPartialEq for BrowserArtifacts
Auto Trait Implementations§
impl Freeze for BrowserArtifacts
impl RefUnwindSafe for BrowserArtifacts
impl Send for BrowserArtifacts
impl Sync for BrowserArtifacts
impl Unpin for BrowserArtifacts
impl UnwindSafe for BrowserArtifacts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more