pub trait CharsWithTrieEx<'slice, 'trie, T, V>where
V: TrieValue,
T: AbstractCodePointTrie<'trie, V>,{
// Required methods
fn chars_with_trie(
&'slice self,
trie: &'trie T,
) -> CharsWithTrie<'slice, 'trie, T, V> ⓘ;
fn char_indices_with_trie(
&'slice self,
trie: &'trie T,
) -> CharIndicesWithTrie<'slice, 'trie, T, V> ⓘ;
}Expand description
Adds convenience methods to str.
Required Methods§
Sourcefn chars_with_trie(
&'slice self,
trie: &'trie T,
) -> CharsWithTrie<'slice, 'trie, T, V> ⓘ
fn chars_with_trie( &'slice self, trie: &'trie T, ) -> CharsWithTrie<'slice, 'trie, T, V> ⓘ
Method for easily creating CharsWithTrie on str analogously to chars().
Sourcefn char_indices_with_trie(
&'slice self,
trie: &'trie T,
) -> CharIndicesWithTrie<'slice, 'trie, T, V> ⓘ
fn char_indices_with_trie( &'slice self, trie: &'trie T, ) -> CharIndicesWithTrie<'slice, 'trie, T, V> ⓘ
Method for easily creating CharIndicesWithTrie on str analogously to char_indices().
Implementations on Foreign Types§
Source§impl<'slice, 'trie, T, V> CharsWithTrieEx<'slice, 'trie, T, V> for strwhere
V: TrieValue,
T: AbstractCodePointTrie<'trie, V>,
impl<'slice, 'trie, T, V> CharsWithTrieEx<'slice, 'trie, T, V> for strwhere
V: TrieValue,
T: AbstractCodePointTrie<'trie, V>,
Source§fn chars_with_trie(
&'slice self,
trie: &'trie T,
) -> CharsWithTrie<'slice, 'trie, T, V> ⓘ
fn chars_with_trie( &'slice self, trie: &'trie T, ) -> CharsWithTrie<'slice, 'trie, T, V> ⓘ
Method for easily creating CharsWithTrie on str analogously to chars().
Source§fn char_indices_with_trie(
&'slice self,
trie: &'trie T,
) -> CharIndicesWithTrie<'slice, 'trie, T, V> ⓘ
fn char_indices_with_trie( &'slice self, trie: &'trie T, ) -> CharIndicesWithTrie<'slice, 'trie, T, V> ⓘ
Method for easily creating CharIndicesWithTrie on str analogously to char_indices().