pub trait TokenFilterClone {
// Required method
fn box_clone(&self) -> BoxTokenFilter;
}Expand description
A trait for cloning token filters.
This trait provides a method box_clone which allows for cloning
a token filter and returning it as a boxed trait object.
Required Methods§
fn box_clone(&self) -> BoxTokenFilter
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".