Module clippy_utils::str_utils [−][src]
Structs
Dealing with sting comparison can be complicated, this struct ensures that both the character and byte count are provided for correct indexing.
Dealing with sting indices can be hard, this struct ensures that both the character and byte index are provided for correct indexing.
Functions
Returns index of the last camel-case component of s.
Returns the index of the character after the first camel-case component of s.
Returns the number of chars and bytes that match from the end
Returns the number of chars that match from the start
