Struct parity_wasm::elements::FunctionNameSection
[−]
[src]
pub struct FunctionNameSection { /* fields omitted */ }
The names of the functions in this module.
Methods
impl FunctionNameSection
[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<FunctionNameSection, Error>
[src]
module: &Module,
rdr: &mut R
) -> Result<FunctionNameSection, Error>
Deserialize names, making sure that all names correspond to functions.
Trait Implementations
impl Clone for FunctionNameSection
[src]
fn clone(&self) -> FunctionNameSection
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FunctionNameSection
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for FunctionNameSection
[src]
fn default() -> FunctionNameSection
[src]
Returns the "default value" for a type. Read more
impl PartialEq for FunctionNameSection
[src]
fn eq(&self, __arg_0: &FunctionNameSection) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FunctionNameSection) -> bool
[src]
This method tests for !=
.