Skip to main content

Module traits

Module traits 

Source
Expand description

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) or slice.get_unchecked_mut(range).