Struct parity_wasm::elements::ExportSection [−][src]
pub struct ExportSection(_);
List of exports definition.
Methods
impl ExportSection[src]
impl ExportSectionpub 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>) -> SelfNew 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 ExportSectionfn 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 ExportSection[src]
impl Default for ExportSectionfn default() -> ExportSection[src]
fn default() -> ExportSectionReturns the "default value" for a type. Read more
impl Clone for ExportSection[src]
impl Clone for ExportSectionfn clone(&self) -> ExportSection[src]
fn clone(&self) -> ExportSectionReturns 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 ExportSectionfn eq(&self, other: &ExportSection) -> bool[src]
fn eq(&self, other: &ExportSection) -> boolThis 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) -> boolThis method tests for !=.
impl Deserialize for ExportSection[src]
impl Deserialize for ExportSectiontype 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 ExportSectionAuto Trait Implementations
impl Send for ExportSection
impl Send for ExportSectionimpl Sync for ExportSection
impl Sync for ExportSection