Searched refs:fold_into_vec (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/nom/src/multi/ |
D | macros.rs | 887 fn fold_into_vec<T>(mut acc: Vec<T>, item: T) -> Vec<T> { in fold_many0() function 893 named!( multi<&[u8],Vec<&[u8]> >, fold_many0!(tag_abcd, Vec::new(), fold_into_vec) ); in fold_many0() 894 named!( multi_empty<&[u8],Vec<&[u8]> >, fold_many0!(tag_empty, Vec::new(), fold_into_vec) ); in fold_many0() 911 fn fold_into_vec<T>(mut acc: Vec<T>, item: T) -> Vec<T> { in fold_many1() function 915 named!(multi<&[u8],Vec<&[u8]> >, fold_many1!(tag!("abcd"), Vec::new(), fold_into_vec)); in fold_many1() 933 fn fold_into_vec<T>(mut acc: Vec<T>, item: T) -> Vec<T> { in fold_many_m_n() function 937 named!(multi<&[u8],Vec<&[u8]> >, fold_many_m_n!(2, 4, tag!("Abcd"), Vec::new(), fold_into_vec)); in fold_many_m_n()
|