Skip to main content

GenericTransformWith

Trait GenericTransformWith 

Source
pub trait GenericTransformWith<T> {
    // Required method
    fn transform_with<Tr: GenericTransformer<T>>(
        self,
        transformer: &mut Tr,
    ) -> Self;
}
Expand description

Extension trait for generic transformations

Required Methods§

Source

fn transform_with<Tr: GenericTransformer<T>>(self, transformer: &mut Tr) -> Self

Apply a generic transformer to this AST node

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§