naga::front::wgsl::parse::lexer

Function consume_any

source
fn consume_any(input: &str, what: impl Fn(char) -> bool) -> (&str, &str)