Struct wasmtime_obj::ObjectBuilder [−][src]
Implementations
impl<'a> ObjectBuilder<'a>
[src]
pub fn new(
target: ObjectBuilderTarget,
module: &'a Module,
compilation: &'a CompiledFunctions
) -> Self
[src]
target: ObjectBuilderTarget,
module: &'a Module,
compilation: &'a CompiledFunctions
) -> Self
pub fn set_code_alignment(&mut self, code_alignment: u64) -> &mut Self
[src]
pub fn set_trampolines(
&mut self,
trampolines: PrimaryMap<SignatureIndex, CompiledFunction>
) -> &mut Self
[src]
&mut self,
trampolines: PrimaryMap<SignatureIndex, CompiledFunction>
) -> &mut Self
pub fn set_dwarf_sections(
&mut self,
dwarf_sections: Vec<DwarfSection>
) -> &mut Self
[src]
&mut self,
dwarf_sections: Vec<DwarfSection>
) -> &mut Self
pub fn build(self) -> Result<Object, Error>
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,