pub struct BoundArena {
pub bytes: Vec<u8>,
pub arena_base: u32,
pub arena_end: u32,
}Expand description
A successful #418 binding.
Fields§
§bytes: Vec<u8>The rewritten module (arena import replaced by a defined allocator).
arena_base: u32First allocatable wasm address (16-aligned, above all statics).
arena_end: u32One past the last allocatable wasm address (= initial memory size).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoundArena
impl RefUnwindSafe for BoundArena
impl Send for BoundArena
impl Sync for BoundArena
impl Unpin for BoundArena
impl UnsafeUnpin for BoundArena
impl UnwindSafe for BoundArena
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more