Struct parity_wasm::elements::ImportEntry
[−]
[src]
pub struct ImportEntry { /* fields omitted */ }
Import entry.
Methods
impl ImportEntry
[src]
pub fn new(module_str: String, field_str: String, external: External) -> Self
[src]
New import entry.
pub fn module(&self) -> &str
[src]
Module reference of the import entry.
pub fn module_mut(&mut self) -> &mut String
[src]
Module reference of the import entry (mutable).
pub fn field(&self) -> &str
[src]
Field reference of the import entry.
pub fn field_mut(&mut self) -> &mut String
[src]
Field reference of the import entry (mutable)
pub fn external(&self) -> &External
[src]
Local binidng of the import entry.
pub fn external_mut(&mut self) -> &mut External
[src]
Local binidng of the import entry (mutable)
Trait Implementations
impl Debug for ImportEntry
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ImportEntry
[src]
fn clone(&self) -> ImportEntry
[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 ImportEntry
[src]
fn eq(&self, __arg_0: &ImportEntry) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ImportEntry) -> bool
[src]
This method tests for !=
.
impl Deserialize for ImportEntry
[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