pub trait ReadPart {
    fn read_next<'a>(&self, context: ReadContext<'a>) -> ReadAction { ... }
    fn n_stride(&self) -> usize { ... }
}
Expand description

Instruct the reader how to read a part of text by inspecting ReadContext

Provided Methods§

source

fn read_next<'a>(&self, context: ReadContext<'a>) -> ReadAction

How to read next lines?

source

fn n_stride(&self) -> usize

Read n lines at each time.

Implementors§

source§

impl<F> ReadPart for Preceded<F>where
    F: Fn(&str) -> bool,

source§

impl<F> ReadPart for Terminated<F>where
    F: Fn(&str) -> bool,