pub trait Parser {
// Required methods
fn parse_document(
document: &str,
endpoint: Endpoint,
language: Language,
) -> Self;
fn nodes(self) -> Vec<Raw>;
}
Required Methods§
fn parse_document( document: &str, endpoint: Endpoint, language: Language, ) -> Self
fn nodes(self) -> Vec<Raw>
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.