Module odds::string [] [src]

Extensions to &str and String

Structs

CharChunks

An iterator that splits the string in substrings of each n char per substring. The last item will contain the remainder if n does not divide the char length of the string evenly.

CharStr

A single-char string.

CharWindows

An iterator that produces substrings of each n char per substring in a sliding window that advances one char at a time.

Prefixes

Iterator of all non-empty prefixes

Substrings

Iterator of all non-empty substrings

Suffixes

Iterator of all non-empty suffixes

Traits

StrChunksWindows

Extension traits for the char_chunks and char_windows methods

StrExt

Extra methods for str

StrSlice

Extension trait for str for string slicing without panicking

StringExt

Extra methods for String