str_
indices
0.4.1
In str_
indices::
chars
Functions
count
from_byte_idx
to_byte_idx
str_indices
::
chars
Function
count
Copy item path
Settings
Help
Summary
Source
pub fn count(text: &
str
) ->
usize
Expand description
Counts the chars in a string slice.
Runs in O(N) time.