pub trait SemanticObject<TRewriter, Error>: Sized {
// Required method
fn default_rewrite(
&mut self,
rewriter: &mut TRewriter,
) -> Result<RewriteResult, Error>;
}
Required Methods§
fn default_rewrite( &mut self, rewriter: &mut TRewriter, ) -> Result<RewriteResult, Error>
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.