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 simple
names it calls in meta.calls for later cross-file resolution.
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
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