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