pub trait DocsParser {
// Required method
fn parse<'a, P: Into<&'a Path>, T: IntoIterator<Item = P>>(
&self,
paths: T,
ctx: &mut Context,
) -> Result<Vec<Entity>>;
}Expand description
The trait for implementing language-specific parsers
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.