Trait TextFilter

Source
pub trait TextFilter {
    // Required method
    fn preprocess(&self, s: String) -> String;
}
Expand description

Trait for preprocessing text data from XML.

This may be used by codecs to allow to customize some of their behaviour.

Required Methods§

Source

fn preprocess(&self, s: String) -> String

Process the incoming string and return the result of the processing.

Implementors§