rustc_
lexer
1.86.0-beta.7
(7824ede68 2025-03-22)
Modules
cursor
unescape
Structs
Cursor
GuardedStr
Token
Enums
Base
DocStyle
LiteralKind
RawStrError
TokenKind
Constants
UNICODE_XID_VERSION
Functions
is_id_continue
is_id_start
is_ident
is_whitespace
strip_shebang
tokenize
validate_raw_str
rustc_lexer
Function
is_ident
Copy item path
Settings
Help
Summary
Source
pub fn is_ident(string: &
str
) ->
bool
Expand description
The passed string is lexically an identifier.