pub enum GraphNodeKind {
File,
Container {
level: Arc<str>,
},
Function {
declaration: Arc<str>,
},
Type {
declaration: Arc<str>,
},
Value {
declaration: Arc<str>,
},
}Expand description
What kind of entity a node is.
The categories are stable graph concepts. The attribute strings are language-declared vocabulary, so another producer may add a level or a declaration name without changing the schema. A producer emits a non-empty lower-snake-case value.
Variants§
File
One source artifact, qualified by the unit that instantiates it.
Container
A namespace that owns other entities.
Function
A callable entity.
Type
A type entity.
Value
A named value entity.
Trait Implementations§
Source§impl Clone for GraphNodeKind
impl Clone for GraphNodeKind
Source§impl Debug for GraphNodeKind
impl Debug for GraphNodeKind
impl Eq for GraphNodeKind
Source§impl PartialEq for GraphNodeKind
impl PartialEq for GraphNodeKind
Source§impl Serialize for GraphNodeKind
impl Serialize 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 UnsafeUnpin 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