Function bpaf_cauwugo::remember_req
source · [−]pub fn remember_req<P, T>(
parser: P,
cell: &Rc<RefCell<Option<T>>>
) -> impl Parser<T>where
P: Parser<T>,
T: Clone + 'static,
Expand description
Stash successfully parsed value in a RefCell.
Unlike remember_opt
this one parses a required value