pub struct CompilationArtifact { /* fields omitted */ }
An opaque object containing the results of compilation.
Returns the number of bytes of the compilation output data.
Returns the compilation output data as a binary slice.
This method will panic if the compilation does not generate a
binary output.
Returns the compilation output data as a binary slice.
This method return a &u8 that implement the Read trait.
This method will panic if the compilation does not generate a
binary output.
pub fn as_text(&self) -> String | [src] |
Returns the compilation output data as a text string.
This method will panic if the compilation does not generate a
text output.
Returns the number of warnings generated during the compilation.
Returns the detailed warnings as a string.
Executes the destructor for this type. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static