pub struct ImportEntry {
pub module_request: usize,
pub import_name: ImportName,
pub local_name: String,
pub span: Span,
}Expand description
One name a module imports.
Fields§
§module_request: usizeIts index in ModuleRecord::requested_modules.
import_name: ImportName§local_name: StringThe name it’s bound to here.
span: SpanThe import specifier it comes from.
Trait Implementations§
Source§impl Clone for ImportEntry
impl Clone for ImportEntry
Source§impl Debug for ImportEntry
impl Debug for ImportEntry
impl Eq 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 ImportEntry
impl Sync for ImportEntry
impl Unpin for ImportEntry
impl UnsafeUnpin 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