Struct wast::Names [−][src]
pub struct Names<'a> { /* fields omitted */ }
Expand description
Representation of the results of name resolution for a module.
This structure is returned from the
Module::resolve
function and can be used to
resolve your own name arguments if you have any.
Implementations
Resolves idx
within the function namespace.
If idx
is a Num
, it is ignored, but if it’s an Id
then it will be
looked up in the function namespace and converted to a Num
. If the
Id
is not defined then an error will be returned.
Resolves idx
within the memory namespace.
If idx
is a Num
, it is ignored, but if it’s an Id
then it will be
looked up in the memory namespace and converted to a Num
. If the
Id
is not defined then an error will be returned.
Resolves idx
within the table namespace.
If idx
is a Num
, it is ignored, but if it’s an Id
then it will be
looked up in the table namespace and converted to a Num
. If the
Id
is not defined then an error will be returned.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Names<'a>
impl<'a> UnwindSafe for Names<'a>