pub trait PatternDialect: Send + Sync {
// Required method
fn compile(&self, pattern: &str) -> Result<Vec<TextOp>>;
}Expand description
A surface pattern syntax that compiles to the shared text-pattern VM.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".