Struct cretonne_faerie::FaerieProduct [] [src]

pub struct FaerieProduct {
    pub artifact: Artifact,
    pub trap_manifest: Option<FaerieTrapManifest>,
    // some fields omitted
}

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]

[src]

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

[src]

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

[src]

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

Trait Implementations

Auto Trait Implementations

impl Send for FaerieProduct

impl Sync for FaerieProduct