[][src]Trait ra_ap_assists::ast_transform::AstTransform

pub trait AstTransform<'a> {
    fn get_substitution(&self, node: &SyntaxNode) -> Option<SyntaxNode>;
fn chain_before(
        self,
        other: Box<dyn AstTransform<'a> + 'a>
    ) -> Box<dyn AstTransform<'a> + 'a>; fn or<T: AstTransform<'a> + 'a>(
        self,
        other: T
    ) -> Box<dyn AstTransform<'a> + 'a>
    where
        Self: Sized + 'a
, { ... } }

Required methods

fn get_substitution(&self, node: &SyntaxNode) -> Option<SyntaxNode>

fn chain_before(
    self,
    other: Box<dyn AstTransform<'a> + 'a>
) -> Box<dyn AstTransform<'a> + 'a>

Loading content...

Provided methods

fn or<T: AstTransform<'a> + 'a>(
    self,
    other: T
) -> Box<dyn AstTransform<'a> + 'a> where
    Self: Sized + 'a, 

Loading content...

Implementors

impl<'a> AstTransform<'a> for QualifyPaths<'a>[src]

impl<'a> AstTransform<'a> for SubstituteTypeParams<'a>[src]

Loading content...