use crate::Style;
impl ContentProcessorOutput for String {
fn clear_output() -> Self {
String::from(" ")
}
}
pub trait ContentProcessorOutput {
/// Returns output to use when Content::Clear is found
fn clear_output() -> Self;
}
pub trait ContentProcessor<T: ContentProcessorOutput> {
fn process(&mut self, character: char, style: &Style) -> T;
}