pub enum EdgeTargetOwned {
Path(CompactString),
External(CompactString),
Unresolved(UnresolvedReason),
}Expand description
Owned target returned by graph queries.
Variants§
Path(CompactString)
Path 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 EdgeTargetOwned
impl Clone for EdgeTargetOwned
Source§fn clone(&self) -> EdgeTargetOwned
fn clone(&self) -> EdgeTargetOwned
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 EdgeTargetOwned
impl Debug for EdgeTargetOwned
impl Eq for EdgeTargetOwned
Source§impl PartialEq for EdgeTargetOwned
impl PartialEq for EdgeTargetOwned
impl StructuralPartialEq for EdgeTargetOwned
Auto Trait Implementations§
impl Freeze for EdgeTargetOwned
impl RefUnwindSafe for EdgeTargetOwned
impl Send for EdgeTargetOwned
impl Sync for EdgeTargetOwned
impl Unpin for EdgeTargetOwned
impl UnsafeUnpin for EdgeTargetOwned
impl UnwindSafe for EdgeTargetOwned
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.