Struct wasmtime_jit::TypeTables
source · [−]pub struct TypeTables {
pub wasm_signatures: PrimaryMap<SignatureIndex, WasmFuncType>,
pub module_signatures: PrimaryMap<ModuleTypeIndex, ModuleSignature>,
pub instance_signatures: PrimaryMap<InstanceTypeIndex, InstanceSignature>,
}
Expand description
This is intended to mirror the type tables in wasmtime_environ
, except that
it doesn’t store the native signatures which are no longer needed past compilation.
Fields
wasm_signatures: PrimaryMap<SignatureIndex, WasmFuncType>
module_signatures: PrimaryMap<ModuleTypeIndex, ModuleSignature>
instance_signatures: PrimaryMap<InstanceTypeIndex, InstanceSignature>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TypeTables
impl<'de> Deserialize<'de> for TypeTables
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for TypeTables
impl Serialize for TypeTables
Auto Trait Implementations
impl RefUnwindSafe for TypeTables
impl Send for TypeTables
impl Sync for TypeTables
impl Unpin for TypeTables
impl UnwindSafe for TypeTables
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more