Struct parity_wasm::elements::LocalNameSubsection [−][src]
pub struct LocalNameSubsection { /* fields omitted */ }
The names of the local variables in this module’s functions.
Implementations
impl LocalNameSubsection
[src]
impl LocalNameSubsection
[src]pub fn local_names(&self) -> &IndexMap<NameMap>
[src]
A map from function indices to a map from variables indices to names.
pub fn local_names_mut(&mut self) -> &mut IndexMap<NameMap>
[src]
A map from function indices to a map from variables indices to names (mutable).
pub fn deserialize<R: Read>(
module: &Module,
rdr: &mut R
) -> Result<LocalNameSubsection, Error>
[src]
module: &Module,
rdr: &mut R
) -> Result<LocalNameSubsection, Error>
Deserialize names, making sure that all names correspond to local variables.
Trait Implementations
impl Clone for LocalNameSubsection
[src]
impl Clone for LocalNameSubsection
[src]fn clone(&self) -> LocalNameSubsection
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for LocalNameSubsection
[src]
impl Default for LocalNameSubsection
[src]fn default() -> LocalNameSubsection
[src]
impl PartialEq<LocalNameSubsection> for LocalNameSubsection
[src]
impl PartialEq<LocalNameSubsection> for LocalNameSubsection
[src]fn eq(&self, other: &LocalNameSubsection) -> bool
[src]
fn ne(&self, other: &LocalNameSubsection) -> bool
[src]
impl Serialize for LocalNameSubsection
[src]
impl Serialize for LocalNameSubsection
[src]