pub struct ImportEntry {
pub module: u32,
pub name: String,
pub var_idx: u32,
pub is_star: bool,
}Expand description
One imported binding.
Fields§
§module: u32Index into ModuleMeta::requests.
name: StringThe name imported from it; ignored when is_star.
var_idx: u32Which module variable holds it — the closure-variable index in the body.
is_star: boolimport * as ns from "m": the binding is the module’s namespace object.
Trait Implementations§
Source§impl Clone for ImportEntry
impl Clone for ImportEntry
Source§impl Debug for ImportEntry
impl Debug for ImportEntry
Source§impl PartialEq for ImportEntry
impl PartialEq for ImportEntry
impl StructuralPartialEq for ImportEntry
Auto Trait Implementations§
impl Forget for ImportEntry
impl Freeze for ImportEntry
impl Move for ImportEntry
impl RefUnwindSafe for ImportEntry
impl Send for ImportEntrywhere
RawVecInner: Send,
impl Sync for ImportEntrywhere
RawVecInner: Sync,
impl Unpin for ImportEntry
impl UnsafeUnpin for ImportEntry
impl UnwindSafe for ImportEntrywhere
RawVecInner: UnwindSafe,
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