Struct cretonne_module::DataDescription[][src]

pub struct DataDescription {
    pub writable: Writability,
    pub init: Init,
    pub function_decls: PrimaryMap<FuncRef, ExternalName>,
    pub data_decls: PrimaryMap<GlobalValue, ExternalName>,
    pub function_relocs: Vec<(CodeOffset, FuncRef)>,
    pub data_relocs: Vec<(CodeOffset, GlobalValue, Addend)>,
}

A description of a data object.

Fields

Whether the data readonly or writable.

How the data should be initialized.

External function declarations.

External data object declarations.

Function addresses to write at specified offsets.

Data addresses to write at specified offsets.

Auto Trait Implementations