pub trait ProcMacroExpander: Debug + Send + Sync + RefUnwindSafe {
    // Required method
    fn expand(
        &self,
        subtree: &Subtree,
        attrs: Option<&Subtree>,
        env: &Env
    ) -> Result<Subtree, ProcMacroExpansionError>;
}

Required Methods§

source

fn expand( &self, subtree: &Subtree, attrs: Option<&Subtree>, env: &Env ) -> Result<Subtree, ProcMacroExpansionError>

Implementors§