Skip to main content

extract_impl_traits

Function extract_impl_traits 

Source
pub fn extract_impl_traits(source: &str, path: &Path) -> Vec<ImplTraitInfo>
Expand description

Extract impl Trait for Type blocks from Rust source.

Runs independently of extract_references to avoid shared deduplication state. Returns an empty vec for non-Rust source (no error; caller decides).