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> Freeze for NameSection<'a>
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