pub enum ReExportImportName {
Name(Sym),
Star,
}Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]] can be either a name, all-but-default
or all, but the last two exports can be identified with the export_name field from
ExportEntry, which joins both variants into a single Star variant.
Variants§
Trait Implementations§
Source§impl Clone for ReExportImportName
impl Clone for ReExportImportName
Source§fn clone(&self) -> ReExportImportName
fn clone(&self) -> ReExportImportName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReExportImportName
Auto Trait Implementations§
impl Freeze for ReExportImportName
impl RefUnwindSafe for ReExportImportName
impl Send for ReExportImportName
impl Sync for ReExportImportName
impl Unpin for ReExportImportName
impl UnsafeUnpin for ReExportImportName
impl UnwindSafe for ReExportImportName
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