pub enum NodeKind {
Root,
Directory,
Document,
Additional,
Asset,
File,
Key,
Missing,
}Expand description
NodeKind lists the kinds of node in sokf graph.
Variants§
Root
A knowledge root.
Directory
A directory in a root, or a directory given as a START of
sokf graph.
Document
A document or a schema.
Additional
An additional file.
Asset
An asset (CLI-7_AC-25).
File
A repository file that an edge points at, or a file given as a
START of sokf graph.
Key
A key given as a START of sokf graph (CLI-7_AC-75).
Missing
An unresolved target.
Implementations§
Trait Implementations§
impl Copy for NodeKind
impl Eq for NodeKind
impl StructuralPartialEq for NodeKind
Auto Trait Implementations§
impl Forget for NodeKind
impl Freeze for NodeKind
impl Move for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnsafeUnpin for NodeKind
impl UnwindSafe for NodeKind
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.