pub struct PendingUnresolvedRef {
pub id: String,
pub source_node: String,
pub target_name: String,
pub namespace: String,
pub file_path: String,
pub line: usize,
pub ref_kind: String,
pub package_hint: Option<String>,
}Expand description
A pending unresolved reference stored for deferred cross-namespace linking.
Fields§
§id: StringID of the unresolved ref record.
source_node: StringSource symbol qualified name.
target_name: StringThe unresolved target name.
namespace: StringNamespace the source belongs to.
file_path: StringFile path where the reference occurs.
line: usizeLine number.
ref_kind: StringKind of reference: “call”, “import”, “inherits”, etc.
package_hint: Option<String>Package hint extracted from import context.
Trait Implementations§
Source§impl Clone for PendingUnresolvedRef
impl Clone for PendingUnresolvedRef
Source§fn clone(&self) -> PendingUnresolvedRef
fn clone(&self) -> PendingUnresolvedRef
Returns a duplicate of the value. Read more
1.0.0 · 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 PendingUnresolvedRef
impl RefUnwindSafe for PendingUnresolvedRef
impl Send for PendingUnresolvedRef
impl Sync for PendingUnresolvedRef
impl Unpin for PendingUnresolvedRef
impl UnsafeUnpin for PendingUnresolvedRef
impl UnwindSafe for PendingUnresolvedRef
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