Struct parity_wasm::elements::ExportEntry [−][src]
pub struct ExportEntry { /* fields omitted */ }Export entry.
Methods
impl ExportEntry[src]
impl ExportEntrypub fn new(field: String, internal: Internal) -> Self[src]
pub fn new(field: String, internal: Internal) -> SelfNew export entry
pub fn field(&self) -> &str[src]
pub fn field(&self) -> &strPublic name
pub fn field_mut(&mut self) -> &mut String[src]
pub fn field_mut(&mut self) -> &mut StringPublic name (mutable)
pub fn internal(&self) -> &Internal[src]
pub fn internal(&self) -> &InternalInternal reference of the export entry.
pub fn internal_mut(&mut self) -> &mut Internal[src]
pub fn internal_mut(&mut self) -> &mut InternalInternal reference of the export entry (mutable).
Trait Implementations
impl Debug for ExportEntry[src]
impl Debug for ExportEntryfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for ExportEntry[src]
impl Clone for ExportEntryfn clone(&self) -> ExportEntry[src]
fn clone(&self) -> ExportEntryReturns 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 ExportEntry[src]
impl PartialEq for ExportEntryfn eq(&self, other: &ExportEntry) -> bool[src]
fn eq(&self, other: &ExportEntry) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ExportEntry) -> bool[src]
fn ne(&self, other: &ExportEntry) -> boolThis method tests for !=.
impl Deserialize for ExportEntry[src]
impl Deserialize for ExportEntrytype 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 ExportEntry[src]
impl Serialize for ExportEntryAuto Trait Implementations
impl Send for ExportEntry
impl Send for ExportEntryimpl Sync for ExportEntry
impl Sync for ExportEntry