Struct wasmtime_environ::NameSection
source · [−]pub struct NameSection<'a> {
pub module_name: Option<&'a str>,
pub func_names: HashMap<FuncIndex, &'a str>,
pub locals_names: HashMap<FuncIndex, HashMap<u32, &'a str>>,
}
Fields
module_name: Option<&'a str>
func_names: HashMap<FuncIndex, &'a str>
locals_names: HashMap<FuncIndex, HashMap<u32, &'a str>>
Trait Implementations
sourceimpl<'a> Debug for NameSection<'a>
impl<'a> Debug for NameSection<'a>
sourceimpl<'a> Default for NameSection<'a>
impl<'a> Default for NameSection<'a>
sourcefn default() -> NameSection<'a>
fn default() -> NameSection<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for NameSection<'a>
impl<'a> Send for NameSection<'a>
impl<'a> Sync for NameSection<'a>
impl<'a> Unpin for NameSection<'a>
impl<'a> UnwindSafe for NameSection<'a>
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