Struct parity_wasm::elements::ExportSection
[−]
[src]
pub struct ExportSection(_);
List of exports definition.
Methods
impl ExportSection
[src]
pub fn entries(&self) -> &[ExportEntry]
[src]
List of all export entries in the section
pub fn with_entries(entries: Vec<ExportEntry>) -> Self
[src]
New export section from list of export entries
pub fn entries_mut(&mut self) -> &mut Vec<ExportEntry>
[src]
List of all export entries in the section (mutable)
Trait Implementations
impl Debug for ExportSection
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for ExportSection
[src]
fn default() -> ExportSection
[src]
Returns the "default value" for a type. Read more
impl Clone for ExportSection
[src]
fn clone(&self) -> ExportSection
[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 Deserialize for ExportSection
[src]
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>
[src]
Deserialize type from serial i/o