[][src]Struct wasmtime_obj::ObjectBuilder

pub struct ObjectBuilder<'a> { /* fields omitted */ }

Implementations

impl<'a> ObjectBuilder<'a>[src]

pub fn new(target: ObjectBuilderTarget, module: &'a Module) -> Self[src]

pub fn set_code_alignment(&mut self, code_alignment: u64) -> &mut Self[src]

pub fn set_compilation(
    &mut self,
    compilation: Compilation,
    relocations: Relocations
) -> &mut Self
[src]

pub fn set_trampolines(
    &mut self,
    trampolines: PrimaryMap<SignatureIndex, (CompiledFunction, Vec<Relocation>)>
) -> &mut Self
[src]

pub fn set_dwarf_sections(
    &mut self,
    dwarf_sections: Vec<DwarfSection>
) -> &mut Self
[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.