pub struct RustExtractor;Expand description
Derived extractor for Rust source, backed by tree-sitter. Emits a file
node, one symbol node per fn/struct/enum/trait/mod (and a few
others) with defines/contains edges reflecting lexical nesting, and
imports edges for use declarations. Each function records the (optionally
scope-qualified) names it calls in meta.calls for later cross-file
resolution — see [RustWalk::callee_name].
Trait Implementations§
Source§impl Clone for RustExtractor
impl Clone for RustExtractor
Source§fn clone(&self) -> RustExtractor
fn clone(&self) -> RustExtractor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RustExtractor
Source§impl Debug for RustExtractor
impl Debug for RustExtractor
Source§impl Default for RustExtractor
impl Default for RustExtractor
Source§fn default() -> RustExtractor
fn default() -> RustExtractor
Returns the “default value” for a type. Read more
Source§impl Extractor for RustExtractor
impl Extractor for RustExtractor
Source§fn env_tag(&self) -> u64
fn env_tag(&self) -> u64
Runtime inputs — beyond
(path, bytes) — that change extraction output
and so must be folded into the sync cache key: the installed OCR-model
identity and any IngestConfig toggles that gate extraction. The
default is the media-model tag alone; Registry additionally folds in
its ingestion config so toggling content off re-extracts affected blobs
instead of serving stale, content-bearing facts.Auto Trait Implementations§
impl Freeze for RustExtractor
impl RefUnwindSafe for RustExtractor
impl Send for RustExtractor
impl Sync for RustExtractor
impl Unpin for RustExtractor
impl UnsafeUnpin for RustExtractor
impl UnwindSafe for RustExtractor
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