Struct wasmtime_obj::ObjectBuilder
source · [−]pub struct ObjectBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> ObjectBuilder<'a>
impl<'a> ObjectBuilder<'a>
pub fn new(
target: ObjectBuilderTarget,
module: &'a Module,
compilation: &'a CompiledFunctions
) -> Self
pub fn set_code_alignment(&mut self, code_alignment: u64) -> &mut Self
pub fn set_trampolines(
&mut self,
trampolines: PrimaryMap<SignatureIndex, CompiledFunction>
) -> &mut Self
pub fn set_dwarf_sections(
&mut self,
dwarf_sections: Vec<DwarfSection>
) -> &mut Self
pub fn build(self) -> Result<Object, Error>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ObjectBuilder<'a>
impl<'a> Send for ObjectBuilder<'a>
impl<'a> Sync for ObjectBuilder<'a>
impl<'a> Unpin for ObjectBuilder<'a>
impl<'a> UnwindSafe for ObjectBuilder<'a>
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