pub enum SemanticGraphQueryKind {
RefsOf,
CallersOf,
ImportersOf,
}Expand description
Graph primitive selected by heddle semantic refs and the weft#451 wire.
Variants§
RefsOf
Occurrences that resolve to a definition (refs_of(state, anchor)).
CallersOf
Call-edge subset of Self::RefsOf.
ImportersOf
Direct importers of a file (importers_of(state, path)).
Trait Implementations§
Source§impl Clone for SemanticGraphQueryKind
impl Clone for SemanticGraphQueryKind
Source§fn clone(&self) -> SemanticGraphQueryKind
fn clone(&self) -> SemanticGraphQueryKind
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 moreimpl Copy for SemanticGraphQueryKind
Source§impl Debug for SemanticGraphQueryKind
impl Debug for SemanticGraphQueryKind
Source§impl<'de> Deserialize<'de> for SemanticGraphQueryKind
impl<'de> Deserialize<'de> for SemanticGraphQueryKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticGraphQueryKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticGraphQueryKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SemanticGraphQueryKind
Source§impl PartialEq for SemanticGraphQueryKind
impl PartialEq for SemanticGraphQueryKind
Source§impl Serialize for SemanticGraphQueryKind
impl Serialize for SemanticGraphQueryKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SemanticGraphQueryKind
Auto Trait Implementations§
impl Freeze for SemanticGraphQueryKind
impl RefUnwindSafe for SemanticGraphQueryKind
impl Send for SemanticGraphQueryKind
impl Sync for SemanticGraphQueryKind
impl Unpin for SemanticGraphQueryKind
impl UnsafeUnpin for SemanticGraphQueryKind
impl UnwindSafe for SemanticGraphQueryKind
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