Struct wasmtime_environ::TypeTables
source · [−]pub struct TypeTables { /* private fields */ }
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.
Implementations
sourceimpl TypeTables
impl TypeTables
sourcepub fn wasm_signatures(
&self
) -> impl Iterator<Item = (SignatureIndex, &WasmFuncType)>
pub fn wasm_signatures(
&self
) -> impl Iterator<Item = (SignatureIndex, &WasmFuncType)>
Returns an iterator of all of the core wasm function signatures registered in this instance.
Trait Implementations
sourceimpl Debug for TypeTables
impl Debug for TypeTables
sourceimpl Default for TypeTables
impl Default for TypeTables
sourcefn default() -> TypeTables
fn default() -> TypeTables
Returns the “default value” for a type. Read more
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 Index<SignatureIndex> for TypeTables
impl Index<SignatureIndex> for TypeTables
type Output = WasmFuncType
type Output = WasmFuncType
The returned type after indexing.
sourcefn index(&self, idx: SignatureIndex) -> &WasmFuncType
fn index(&self, idx: SignatureIndex) -> &WasmFuncType
Performs the indexing (container[index]
) operation. 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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more