Struct cranelift_object::ObjectProduct
source · pub struct ObjectProduct {
pub object: Object<'static>,
pub functions: SecondaryMap<FuncId, Option<(SymbolId, bool)>>,
pub data_objects: SecondaryMap<DataId, Option<(SymbolId, bool)>>,
}
Expand description
This is the output of ObjectModule
’s
finish
function.
It contains the generated Object
and other information produced during
compilation.
Fields§
§object: Object<'static>
Object artifact with all functions and data from the module defined.
functions: SecondaryMap<FuncId, Option<(SymbolId, bool)>>
Symbol IDs for functions (both declared and defined).
data_objects: SecondaryMap<DataId, Option<(SymbolId, bool)>>
Symbol IDs for data objects (both declared and defined).
Implementations§
source§impl ObjectProduct
impl ObjectProduct
Auto Trait Implementations§
impl Freeze for ObjectProduct
impl RefUnwindSafe for ObjectProduct
impl Send for ObjectProduct
impl Sync for ObjectProduct
impl Unpin for ObjectProduct
impl UnwindSafe for ObjectProduct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more