Module core_extensions::strings
source · [−]Available on crate feature
slices
only.Expand description
Extension trait for string types.
Structs
Like CharIndices
, which starts from an offset.
A pair of (string slice, key) returned by the RSplitWhile/ SplitWhile iterators.
Add padding to a string in its Display
impl.
Iterator over string slices, in which all the chars in each string were mapped to the same key by a closure, iterating from the end.
Iterator over string slices, in which all the chars in each string were mapped to the same key by a closure.
Traits
Extension trait for strings (any type that borrows as str
).