Expand description
A tiny crate that exports a table with all ranges of unicode scalar values of invalid characters for a Rust file.
Structs§
- Invalid
Rust Chars - Iterator created with the function
all_invalid_rust_char
. - Valid
Rust Chars - Iterator created with the function
all_valid_rust_char
.
Constants§
- RUST_
INVALID_ TABLE - A table with all ranges of unicode scalar values of characters that are not valid in Rust.
Functions§
- all_
invalid_ rust_ char - Creates an iterator that iterates thought all rust invalid characters,
is_invalid_rust_char
should be preferred for search if one is there as otherwise the performance will decrease a lot. - all_
valid_ rust_ char - Creates an iterator that iterates thought all rust valid characters,
is_valid_rust_char
should be preferred for search if one is there as otherwise the performance will decrease a lot. - is_
invalid_ rust_ char - Checks whether a character it’s an invalid one for a Rust file by binary searching
RUST_INVALID_TABLE
. - is_
valid_ rust_ char - Checks whether a character it’s a valid one for a Rust file,convenience to
!is_invalid_rust_char(c)
.