TransformWith

Trait TransformWith 

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

Extension trait for transforming documents

Required Methods§

Source

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

Apply a transformer to this AST node

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§