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
sourceimpl ObjectProduct
impl ObjectProduct
Auto Trait Implementations
impl RefUnwindSafe for ObjectProduct
impl Send for ObjectProduct
impl Sync for ObjectProduct
impl Unpin for ObjectProduct
impl UnwindSafe for ObjectProduct
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more