pub struct ModuleMemoryStat<'module_name> {
pub name: &'module_name str,
pub memory_size: usize,
}
Expand description
Contains module name and a size of its linear memory in bytes.
Please note that linear memory contains not only heap, but globals, shadow stack and so on.
Although it doesn’t contain operand stack, additional runtime (Wasmer) structures,
and some other stuff, that should be count separately.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.