Trait CharsCount
faster_chars_count
pub trait CharsCount { fn chars_count(&self) -> usize; }
Trait for counting chars faster than chars().count()
chars()
count()
fn chars_count(&self) -> usize
Counting chars faster than chars().count()
impl CharsCount for str