pub struct NonLocalImportSpecifier {
pub name: String,
pub module: String,
pub imported: String,
}Expand description
An import specifier tracked by ProgramContext. Corresponds to NonLocalImportSpecifier in the TS compiler.
Fields§
§name: String§module: String§imported: StringTrait Implementations§
Source§impl Clone for NonLocalImportSpecifier
impl Clone for NonLocalImportSpecifier
Source§fn clone(&self) -> NonLocalImportSpecifier
fn clone(&self) -> NonLocalImportSpecifier
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 moreAuto Trait Implementations§
impl Freeze for NonLocalImportSpecifier
impl RefUnwindSafe for NonLocalImportSpecifier
impl Send for NonLocalImportSpecifier
impl Sync for NonLocalImportSpecifier
impl Unpin for NonLocalImportSpecifier
impl UnsafeUnpin for NonLocalImportSpecifier
impl UnwindSafe for NonLocalImportSpecifier
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