Struct parity_wasm::elements::ExportSection
source · pub struct ExportSection(_);
Expand description
List of exports definition.
Implementations§
source§impl ExportSection
impl ExportSection
sourcepub fn entries(&self) -> &[ExportEntry]
pub fn entries(&self) -> &[ExportEntry]
List of all export entries in the section.
sourcepub fn with_entries(entries: Vec<ExportEntry>) -> Self
pub fn with_entries(entries: Vec<ExportEntry>) -> Self
New export section from list of export entries.
sourcepub fn entries_mut(&mut self) -> &mut Vec<ExportEntry>
pub fn entries_mut(&mut self) -> &mut Vec<ExportEntry>
List of all export entries in the section (mutable).
Trait Implementations§
source§impl Clone for ExportSection
impl Clone for ExportSection
source§fn clone(&self) -> ExportSection
fn clone(&self) -> ExportSection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExportSection
impl Debug for ExportSection
source§impl Default for ExportSection
impl Default for ExportSection
source§fn default() -> ExportSection
fn default() -> ExportSection
Returns the “default value” for a type. Read more