Struct wasmtime_obj::ObjectBuilder [−][src]
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]
&mut self,
compilation: Compilation,
relocations: Relocations
) -> &mut Self
pub fn set_trampolines(
&mut self,
trampolines: PrimaryMap<SignatureIndex, (CompiledFunction, Vec<Relocation>)>
) -> &mut Self
[src]
&mut self,
trampolines: PrimaryMap<SignatureIndex, (CompiledFunction, Vec<Relocation>)>
) -> &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> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
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>,