pub struct DepEdge {
pub from: CompactString,
pub to: EdgeTargetOwned,
pub specifier: CompactString,
pub kind: ImportKind,
pub line: u32,
pub span: (u32, u32),
}Expand description
One dependency edge materialized with paths instead of graph slots.
Fields§
§from: CompactStringImporting file.
to: EdgeTargetOwnedOwned resolution target.
specifier: CompactStringSpecifier exactly as written.
kind: ImportKindSyntactic import kind.
line: u321-based source line.
span: (u32, u32)Byte range of the specifier.
Trait Implementations§
impl Eq for DepEdge
impl StructuralPartialEq for DepEdge
Auto Trait Implementations§
impl Freeze for DepEdge
impl RefUnwindSafe for DepEdge
impl Send for DepEdge
impl Sync for DepEdge
impl Unpin for DepEdge
impl UnsafeUnpin for DepEdge
impl UnwindSafe for DepEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.