Trait adventurous::CharCounts
source · pub trait CharCounts {
fn char_counts(&self) -> HashMap<char, i32>;
}
Expand description
A trait for counting the number of occurrences of each character in a string.
pub trait CharCounts {
fn char_counts(&self) -> HashMap<char, i32>;
}
A trait for counting the number of occurrences of each character in a string.