Module fiberplane_models::utils
source · Modules§
Traits§
- Extension trait that adds methods used for working with Strings and &strs in terms of their UTF-8 characters, as opposed to bytes
Functions§
- Counts the number of (USV) characters in a string.
- Calculates the byte index at which the character with the given offset starts.
- Returns a slice of a string, based on character offsets instead of byte indices.
- Returns a slice of a string, based on character offsets instead of byte indices.