Trait wasmer_vm::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§
sourcefn list(ctx: &StoreObjects) -> &Vec<Self>
fn list(ctx: &StoreObjects) -> &Vec<Self>
List the objects in the store.
sourcefn list_mut(ctx: &mut StoreObjects) -> &mut Vec<Self>
fn list_mut(ctx: &mut StoreObjects) -> &mut Vec<Self>
List the objects in the store, mutably.
Object Safety§
This trait is not object safe.