Function xmlhelper::decode::fold_elements
[−]
[src]
pub fn fold_elements<S: XmlEventStream, State, F>(
stream: &mut S,
state: State,
f: F
) -> Result<State> where
F: FnMut(&mut ElementScopedStream<S>, &mut State) -> Result<()>,
Consume all elements of a stream, fold them to a value