pub struct ImportBindingInfo {
pub local_name: String,
pub source_file: String,
pub original_name: String,
}Expand description
Represents an import binding that maps a local name to a symbol in another file. Used for two-phase indexing to resolve cross-file references.
Fields§
§local_name: StringThe name used locally in the importing file (may be aliased)
source_file: StringThe resolved path of the source file (canonical path)
original_name: StringThe original name exported from the source file (before aliasing)
Trait Implementations§
Source§impl Clone for ImportBindingInfo
impl Clone for ImportBindingInfo
Source§fn clone(&self) -> ImportBindingInfo
fn clone(&self) -> ImportBindingInfo
Returns a duplicate of the value. Read more
1.0.0§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 ImportBindingInfo
impl RefUnwindSafe for ImportBindingInfo
impl Send for ImportBindingInfo
impl Sync for ImportBindingInfo
impl Unpin for ImportBindingInfo
impl UnwindSafe for ImportBindingInfo
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)