pub enum Scope {
All,
Docs,
Code,
Section,
Subkind(String),
}Expand description
Which nodes are candidates for grounding. Docs excludes code symbols
(Function/Type/Trait/Module); Code keeps only them; Section keeps only sub-doc heading blocks;
Subkind keeps only nodes whose open domain subkind matches (e.g. “skill”, “agent”).
All is every CANONICAL unit — it deliberately EXCLUDES sections (they’re a sub-granularity that
would flood the candidate set and displace skills/docs; opt in with Section).
Variants§
All
Docs
Code
Section
Only sub-doc Section nodes (heading blocks) — opt-in granularity.
Subkind(String)
Only nodes whose subkind equals this value.
Implementations§
Trait Implementations§
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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