pub struct CompilationArtifact { /* private fields */ }
Expand description

An opaque object containing the results of compilation.

Implementations

Returns the number of bytes of the compilation output data.

Returns true if the compilation output data has a length of 0.

Returns the compilation output data as a binary slice.

Panics

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.

Panics

This method will panic if the compilation does not generate a binary output.

Returns the compilation output data as a text string.

Panics

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.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.