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§
source§impl<'a> Debug for NameSection<'a>
impl<'a> Debug for NameSection<'a>
source§impl<'a> Default for NameSection<'a>
impl<'a> Default for NameSection<'a>
source§fn 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more