Expand description
String utils for attributes and similar stuff.
Statics§
- HTML_
SPACE_ CHARACTERS - A “space character” according to:
Functions§
- char_
is_ whitespace - Whether a character is a HTML whitespace character.
- is_
ascii_ digit - Character is ascii digit
- is_
decimal_ 🔒point - is_
exponent_ 🔒char - is_
whitespace - Whether all the string is HTML whitespace.
- not_
empty 🔒 - read_
exponent - Reads an exponent from an iterator over chars, for example
e100
. - read_
fraction - Read a decimal fraction.
- read_
numbers - Read a set of ascii digits and read them into a number.
- split_
commas - Split a string on commas.
- split_
html_ space_ chars - Split a string on HTML whitespace.
- starts_
with_ ignore_ ascii_ case - Returns true if a given string has a given prefix with case-insensitive match.
- str_
join - Join a set of strings with a given delimiter
join
. - string_
as_ ascii_ lowercase - Returns an ascii lowercase version of a string, only allocating if needed.
Type Aliases§
- CssString
- String. The comments for the Gecko types explain the need for this abstraction.
- CssString
Writer - String. The comments for the Gecko types explain the need for this abstraction.
- Static
Char Vec - A static slice of characters.
- Static
String Vec - A static slice of
str
s.