winnow::token

Function take_till_m_n

source
fn take_till_m_n<P, I, Error: ParserError<I>, const PARTIAL: bool>(
    input: &mut I,
    m: usize,
    n: usize,
    predicate: P,
) -> PResult<<I as Stream>::Slice, Error>
where I: StreamIsPartial + Stream, P: Fn(I::Token) -> bool,