Struct wasmtime_environ::TypeTables [−][src]
pub struct TypeTables { pub wasm_signatures: PrimaryMap<SignatureIndex, WasmFuncType>, pub native_signatures: PrimaryMap<SignatureIndex, Signature>, pub module_signatures: PrimaryMap<ModuleTypeIndex, ModuleSignature>, pub instance_signatures: PrimaryMap<InstanceTypeIndex, InstanceSignature>, }
Expand description
All types which are recorded for the entirety of a translation.
Note that this is shared amongst all modules coming out of a translation in the case of nested modules and the module linking proposal.
Fields
wasm_signatures: PrimaryMap<SignatureIndex, WasmFuncType>
native_signatures: PrimaryMap<SignatureIndex, Signature>
module_signatures: PrimaryMap<ModuleTypeIndex, ModuleSignature>
instance_signatures: PrimaryMap<InstanceTypeIndex, InstanceSignature>
Trait Implementations
impl Clone for TypeTables
[src]
impl Clone for TypeTables
[src]fn clone(&self) -> TypeTables
[src]
fn clone(&self) -> TypeTables
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for TypeTables
[src]
impl Debug for TypeTables
[src]impl Default for TypeTables
[src]
impl Default for TypeTables
[src]fn default() -> TypeTables
[src]
fn default() -> TypeTables
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for TypeTables
[src]
impl<'de> Deserialize<'de> for TypeTables
[src]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
impl Serialize for TypeTables
[src]
impl Serialize for TypeTables
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,