pub trait Macro {
type Error: Into<ReportMessage>;
type Node: TryFrom<AnyNode>;
// Provided method
fn transform(
&mut self,
guard: VisitGuard<'_, '_, Self::Node>,
context: &mut impl Context,
) -> Execution<Self::Error, ChangeSet> { ... }
}
Required Associated Types§
Provided Methods§
fn transform( &mut self, guard: VisitGuard<'_, '_, Self::Node>, context: &mut impl Context, ) -> Execution<Self::Error, ChangeSet>
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.