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