pub struct ImportEntry { /* private fields */ }Expand description
Import entry.
Implementations§
Source§impl ImportEntry
impl ImportEntry
Sourcepub fn new(
module_str: String,
field_str: String,
external: External,
) -> ImportEntry
pub fn new( module_str: String, field_str: String, external: External, ) -> ImportEntry
New import entry.
Sourcepub fn module_mut(&mut self) -> &mut String
pub fn module_mut(&mut self) -> &mut String
Module reference of the import entry (mutable).
Sourcepub fn external_mut(&mut self) -> &mut External
pub fn external_mut(&mut self) -> &mut External
Local binidng of the import entry (mutable)
Trait Implementations§
Source§impl Clone for ImportEntry
impl Clone for ImportEntry
Source§fn clone(&self) -> ImportEntry
fn clone(&self) -> ImportEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImportEntry
impl Debug for ImportEntry
Source§impl Deserialize for ImportEntry
impl Deserialize for ImportEntry
Source§fn deserialize<R>(
reader: &mut R,
) -> Result<ImportEntry, <ImportEntry as Deserialize>::Error>where
R: Read,
fn deserialize<R>(
reader: &mut R,
) -> Result<ImportEntry, <ImportEntry as Deserialize>::Error>where
R: Read,
Deserialize type from serial i/o
Source§impl PartialEq for ImportEntry
impl PartialEq for ImportEntry
Source§impl Serialize for ImportEntry
impl Serialize for ImportEntry
impl StructuralPartialEq for ImportEntry
Auto Trait Implementations§
impl Freeze for ImportEntry
impl RefUnwindSafe for ImportEntry
impl Send for ImportEntry
impl Sync for ImportEntry
impl Unpin for ImportEntry
impl UnwindSafe for ImportEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more