pub enum GraphNodeKind {
Module,
File,
Directory,
Service,
Test,
Other,
}Expand description
Enumerates the kinds of nodes that can populate the SourceCodeGraph.
Variants§
Module
A logical module, typically aligned to a crate or package.
File
A discrete file in the repository.
Directory
Directory or folder that contains additional nodes.
Service
A long-running service entry point.
Test
Automated test suites or harnesses.
Other
Any other kind that does not fit the curated list.
Trait Implementations§
Source§impl Clone for GraphNodeKind
impl Clone for GraphNodeKind
Source§fn clone(&self) -> GraphNodeKind
fn clone(&self) -> GraphNodeKind
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 moreSource§impl Debug for GraphNodeKind
impl Debug for GraphNodeKind
Source§impl Default for GraphNodeKind
impl Default for GraphNodeKind
Source§fn default() -> GraphNodeKind
fn default() -> GraphNodeKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphNodeKind
impl<'de> Deserialize<'de> for GraphNodeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GraphNodeKind
impl PartialEq for GraphNodeKind
Source§impl Serialize for GraphNodeKind
impl Serialize for GraphNodeKind
impl Copy for GraphNodeKind
impl Eq for GraphNodeKind
impl StructuralPartialEq for GraphNodeKind
Auto Trait Implementations§
impl Freeze for GraphNodeKind
impl RefUnwindSafe for GraphNodeKind
impl Send for GraphNodeKind
impl Sync for GraphNodeKind
impl Unpin for GraphNodeKind
impl UnwindSafe for GraphNodeKind
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.