Struct cretonne_faerie::FaerieProduct[][src]

pub struct FaerieProduct {
    pub artifact: Artifact,
    pub trap_manifest: Option<FaerieTrapManifest>,
}

This is the output of Module's finish function. It provides functions for writing out the object file to memory or a file.

Fields

Faerie artifact with all functions, data, and links from the module defined

Optional trap manifest. Contains FaerieTrapManifest when FaerieBuilder.collect_traps is set to FaerieTrapCollection::Enabled.

Methods

impl FaerieProduct
[src]

Return the name of the output file. This is the name passed into new.

Call emit on the faerie Artifact, producing bytes in memory.

Call write on the faerie Artifact, writing to a file.

Auto Trait Implementations