Module traits
Trait implementations for str.
Traits
- FromStr Parse a value from a string
Functions
-
check_range
Check that a range is in bounds for slicing a string.
If this returns true, it is safe to call
slice.get_unchecked(range)orslice.get_unchecked_mut(range).