pub trait Converter<'a>: Sized {
type IR;
// Required method
fn convert_ir(&self, ast: AstRoot<'a>) -> Self::IR;
}
Expand description
Converts template ast node to intermediate representation. It defines the most generic Converter interface. The IR format can be platform specific. e.g Platfroms other than DOM/SSR can have different IR
Required Associated Types§
Required Methods§
fn convert_ir(&self, ast: AstRoot<'a>) -> Self::IR
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.