Function yz_string_utils::count_str_bytes
source · pub fn count_str_bytes<F>(inp: &str, f: F) -> usizewhere
F: FnMut(char) -> bool,Expand description
Counts the number of bytes that got accepted by f.
pub fn count_str_bytes<F>(inp: &str, f: F) -> usizewhere
F: FnMut(char) -> bool,Counts the number of bytes that got accepted by f.