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