Struct parity_wasm::elements::NameSection
source · [−]pub struct NameSection { /* private fields */ }
Expand description
Debug name information.
Implementations
pub fn new(
module: Option<ModuleNameSubsection>,
functions: Option<FunctionNameSubsection>,
locals: Option<LocalNameSubsection>
) -> Self
pub fn new(
module: Option<ModuleNameSubsection>,
functions: Option<FunctionNameSubsection>,
locals: Option<LocalNameSubsection>
) -> Self
Creates a new name section.
Module name subsection of this section.
Module name subsection of this section (mutable).
Functions name subsection of this section.
Functions name subsection of this section (mutable).
Local name subsection of this section.
Local name subsection of this section (mutable).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NameSection
impl Send for NameSection
impl Sync for NameSection
impl Unpin for NameSection
impl UnwindSafe for NameSection
Blanket Implementations
Mutably borrows from an owned value. Read more