Trait SectionFinder

Source
pub trait SectionFinder {
    // Required methods
    fn is_start(&self, line: &LineSpan<'_>) -> bool;
    fn is_end(&self, section: &SectionSpan<'_>) -> bool;
}

Required Methods§

Source

fn is_start(&self, line: &LineSpan<'_>) -> bool

Source

fn is_end(&self, section: &SectionSpan<'_>) -> bool

Implementors§

Source§

impl<S, E> SectionFinder for SectionFnFinder<S, E>
where S: Fn(&LineSpan<'_>) -> bool, E: Fn(&SectionSpan<'_>) -> bool,