Skip to main content

TransformerFeatures

Trait TransformerFeatures 

Source
pub trait TransformerFeatures<M, N>:
    Sized
    + Default
    + Copy {
    // Required method
    fn transforms<'a, 'ctx>(
        self,
        transformer: &'ctx Transformer<'a, M, N, Self>,
        node: &N,
    )
       where M: NodeMetadata,
             N: NodeWithMetadata<M>;
}

Required Methods§

Source

fn transforms<'a, 'ctx>( self, transformer: &'ctx Transformer<'a, M, N, Self>, node: &N, )

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.

Implementors§