Struct wasmtime_environ::wasm::wasmparser::Instance
source · [−]pub struct Instance<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Instance<'a>
impl<'a> Instance<'a>
pub fn new(
data: &'a [u8],
offset: usize
) -> Result<Instance<'a>, BinaryReaderError>
pub fn original_position(&self) -> usize
pub fn module(&self) -> u32
pub fn args(&self) -> Result<InstanceArgsReader<'a>, BinaryReaderError>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Instance<'a>
impl<'a> Send for Instance<'a>
impl<'a> Sync for Instance<'a>
impl<'a> Unpin for Instance<'a>
impl<'a> UnwindSafe for Instance<'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