pub enum SigBackend {
TreeSitter,
Regex,
}Expand description
Which extractor produced a signature set: the primary tree-sitter AST path
(crate::signatures_ts) or the line-oriented regex fallback in this
module. Surfaced so navigation output (ctx_outline) can label its backend
honestly and verifiably instead of merely claiming “via tree-sitter”
(gitlab #981).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SigBackend
impl Clone for SigBackend
impl Copy for SigBackend
Source§impl Debug for SigBackend
impl Debug for SigBackend
impl Eq for SigBackend
Source§impl PartialEq for SigBackend
impl PartialEq for SigBackend
impl StructuralPartialEq for SigBackend
Auto Trait Implementations§
impl Freeze for SigBackend
impl RefUnwindSafe for SigBackend
impl Send for SigBackend
impl Sync for SigBackend
impl Unpin for SigBackend
impl UnsafeUnpin for SigBackend
impl UnwindSafe for SigBackend
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