pub trait Converter<A> {
// Required methods
fn get_style(&self, annotation: &A) -> Option<Style>;
fn get_link<'a>(&self, annotation: &'a A) -> Option<&'a str>;
}
Expand description
A converter for HTML annotations.
This trait extracts the text formatting and links from the annotations created by a
TextDecorator
.