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