Function pear::combinators::surrounded[][src]

pub fn surrounded<I: Input, O, F, P>(input: &mut I, p: P, f: F) -> Result<O, I> where
    F: Copy + FnMut(I::Token) -> bool,
    P: FnMut(&mut I) -> Result<O, I>,