Struct parity_wasm::elements::FunctionNameSection [−][src]
pub struct FunctionNameSection { /* fields omitted */ }The names of the functions in this module.
Methods
impl FunctionNameSection[src]
impl FunctionNameSectionpub fn names(&self) -> &NameMap[src]
pub fn names(&self) -> &NameMapA map from function indices to names.
pub fn names_mut(&mut self) -> &mut NameMap[src]
pub fn names_mut(&mut self) -> &mut NameMapA map from function indices to names (mutable).
pub fn deserialize<R: Read>(
module: &Module,
rdr: &mut R
) -> Result<FunctionNameSection, Error>[src]
pub fn deserialize<R: Read>(
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]
impl Clone for FunctionNameSectionfn clone(&self) -> FunctionNameSection[src]
fn clone(&self) -> FunctionNameSectionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for FunctionNameSection[src]
impl Debug for FunctionNameSectionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for FunctionNameSection[src]
impl Default for FunctionNameSectionfn default() -> FunctionNameSection[src]
fn default() -> FunctionNameSectionReturns the "default value" for a type. Read more
impl PartialEq for FunctionNameSection[src]
impl PartialEq for FunctionNameSectionfn eq(&self, other: &FunctionNameSection) -> bool[src]
fn eq(&self, other: &FunctionNameSection) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &FunctionNameSection) -> bool[src]
fn ne(&self, other: &FunctionNameSection) -> boolThis method tests for !=.
impl Serialize for FunctionNameSection[src]
impl Serialize for FunctionNameSectionAuto Trait Implementations
impl Send for FunctionNameSection
impl Send for FunctionNameSectionimpl Sync for FunctionNameSection
impl Sync for FunctionNameSection