from_read_with_decorator

Function from_read_with_decorator 

Source
pub fn from_read_with_decorator<R, D>(
    input: R,
    width: usize,
    decorator: D,
) -> Result<String, Error>
where R: Read, D: TextDecorator,
Expand description

Reads HTML from input, decorates it using decorator, and returns a String with text wrapped to width columns.