naga
24.0.0
In naga::
front::
wgsl::
parse::
lexer
Structs
Lexer
Enums
Token
Functions
consume_any
consume_token
is_blankspace
is_comment_end
is_word_part
is_word_start
Type Aliases
TokenSpan
naga
::
front
::
wgsl
::
parse
::
lexer
Function
consume_any
Copy item path
Settings
Help
Summary
Source
fn consume_any(input: &
str
, what: impl
Fn
(
char
) ->
bool
) -> (&
str
, &
str
)