Expand description
Miscellaneous.
Structs§
- Arena
- Cell
- A mutable memory location.
- Character
Reader CharacterReader
may be used for iterating characters from left-to-right in a string with miscellaneous operation methods.- HashMap
- A hash map implemented with quadratic probing and SIMD lookup.
- HashSet
- A hash set implemented as a
HashMap
where the value is()
. - Node
AsKey - Wrapper for pointer types that implements by-address comparison.
- Rc
- A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
- RefCell
- A mutable memory location with dynamically checked borrow rules
- Weak
Weak
is a version ofRc
that holds a non-owning reference to the managed allocation.
Functions§
- count_
first_ whitespace_ characters - Counts the first whitespace characters of a string.
- css_
color_ constant_ to_ int - Converts a CSS color constant into an integer.
- decrease_
last_ offset - Decreases the last offset of a range without ever going behind the first offset.
- default
- escape_
xml - Escapes XML special characters.
- unescape_
xml - Unescapes XML entities conforming to HTML entities.