pub struct DisplayContext<'r> {
pub matched: Cow<'r, str>,
pub leading: &'r str,
pub trailing: &'r str,
pub start_line: usize,
}Fields§
§matched: Cow<'r, str>content for the matched node
leading: &'r strcontent before the matched node
trailing: &'r strcontent after the matched node
start_line: usizezero-based start line of the context