Trait hir_expand::proc_macro::ProcMacroExpander
source · pub trait ProcMacroExpander: Debug + Send + Sync + RefUnwindSafe {
// Required method
fn expand(
&self,
subtree: &Subtree,
attrs: Option<&Subtree>,
env: &Env,
def_site: Span,
call_site: Span,
mixed_site: Span
) -> Result<Subtree, ProcMacroExpansionError>;
}