Enum wasmtime_environ::ModuleUpvar [−][src]
pub enum ModuleUpvar { Inherit(usize), Local(ModuleIndex), }
Expand description
Where module values can come from when creating a new module from a compiled artifact.
Variants
Inherit(usize)
A module value is inherited from the module creating the new module.
Local(ModuleIndex)
A module value comes from the instance-to-be-created module index space.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ModuleUpvar
impl Send for ModuleUpvar
impl Sync for ModuleUpvar
impl Unpin for ModuleUpvar
impl UnwindSafe for ModuleUpvar
Blanket Implementations
Mutably borrows from an owned value. Read more