pub struct ExportEntry {
pub export_name: Option<String>,
pub module_request: Option<usize>,
pub import_name: Option<ExportImportName>,
pub local_name: Option<String>,
pub span: Span,
}Expand description
One name a module exports.
Fields§
§export_name: Option<String>The name it’s exported as; None for export * from "m".
module_request: Option<usize>For a re-export, its index in ModuleRecord::requested_modules.
import_name: Option<ExportImportName>§local_name: Option<String>The local binding it exports; *default* for export default
with an expression or an anonymous declaration.
span: SpanThe node it comes from: a specifier, a declared name, an export default or an export *.
Trait Implementations§
Source§impl Clone for ExportEntry
impl Clone for ExportEntry
Source§impl Debug for ExportEntry
impl Debug for ExportEntry
impl Eq for ExportEntry
Source§impl PartialEq for ExportEntry
impl PartialEq for ExportEntry
impl StructuralPartialEq for ExportEntry
Auto Trait Implementations§
impl Forget for ExportEntry
impl Freeze for ExportEntry
impl Move for ExportEntry
impl RefUnwindSafe for ExportEntry
impl Send for ExportEntry
impl Sync for ExportEntry
impl Unpin for ExportEntry
impl UnsafeUnpin for ExportEntry
impl UnwindSafe for ExportEntry
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