pub enum EdgeTarget {
Node(u32),
External(CompactString),
Unresolved(UnresolvedReason),
}Expand description
Target stored on an import edge.
Variants§
Node(u32)
Slot of another module node.
External(CompactString)
Package or other dependency outside the module graph.
Unresolved(UnresolvedReason)
Import that could not be resolved.
Trait Implementations§
Source§impl Clone for EdgeTarget
impl Clone for EdgeTarget
Source§fn clone(&self) -> EdgeTarget
fn clone(&self) -> EdgeTarget
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 moreSource§impl Debug for EdgeTarget
impl Debug for EdgeTarget
impl Eq for EdgeTarget
Source§impl PartialEq for EdgeTarget
impl PartialEq for EdgeTarget
impl StructuralPartialEq for EdgeTarget
Auto Trait Implementations§
impl Freeze for EdgeTarget
impl RefUnwindSafe for EdgeTarget
impl Send for EdgeTarget
impl Sync for EdgeTarget
impl Unpin for EdgeTarget
impl UnsafeUnpin for EdgeTarget
impl UnwindSafe for EdgeTarget
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.