pub trait MatchOccurrences {
    // Required method
    fn find_matched_indices(&self, pat: &str) -> Vec<usize>;
}
Expand description

Return the indices of all ocurrences of a character

Required Methods§

Implementations on Foreign Types§

source§

impl MatchOccurrences for String

Implementors§