pub enum ImportName {
Namespace,
Name(Sym),
}Expand description
The name under which the imported binding is exported by a module.
Variants§
Trait Implementations§
Source§impl Clone for ImportName
impl Clone for ImportName
Source§fn clone(&self) -> ImportName
fn clone(&self) -> ImportName
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 ImportName
Auto Trait Implementations§
impl Freeze for ImportName
impl RefUnwindSafe for ImportName
impl Send for ImportName
impl Sync for ImportName
impl Unpin for ImportName
impl UnsafeUnpin for ImportName
impl UnwindSafe for ImportName
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