pub enum ImportName {
Name(String),
NamespaceObject,
}Expand description
What an ImportEntry imports.
Variants§
Name(String)
An export by name; default for a default import.
NamespaceObject
The whole namespace, import * as ns.
Trait Implementations§
Source§impl Clone for ImportName
impl Clone for ImportName
Source§impl Debug for ImportName
impl Debug for ImportName
impl Eq for ImportName
Source§impl PartialEq for ImportName
impl PartialEq for ImportName
impl StructuralPartialEq for ImportName
Auto Trait Implementations§
impl Forget for ImportName
impl Freeze for ImportName
impl Move for ImportName
impl RefUnwindSafe for ImportName
impl Send for ImportNamewhere
RawVecInner: Send,
impl Sync for ImportNamewhere
RawVecInner: Sync,
impl Unpin for ImportName
impl UnsafeUnpin for ImportName
impl UnwindSafe for ImportNamewhere
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