pub trait ElementProcessor {
// Required methods
fn process(element: &mut Element<'_, '_>);
fn can_process(element: &Element<'_, '_>) -> bool;
}Expand description
Trait for element processors
Required Methods§
Sourcefn can_process(element: &Element<'_, '_>) -> bool
fn can_process(element: &Element<'_, '_>) -> bool
Check if this processor can handle the given element
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".