Trait wasmer_vm::store::StoreObject
source · pub trait StoreObject: Sized {
// Required methods
fn list(ctx: &StoreObjects) -> &Vec<Self>;
fn list_mut(ctx: &mut StoreObjects) -> &mut Vec<Self>;
}
Expand description
Trait to represent an object managed by a context. This is implemented on the VM types managed by the context.
Required Methods§
fn list(ctx: &StoreObjects) -> &Vec<Self>
fn list_mut(ctx: &mut StoreObjects) -> &mut Vec<Self>
Object Safety§
This trait is not object safe.