Skip to main content

CharsWithTrieEx

Trait CharsWithTrieEx 

Source
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§

Source

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>

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 str
where V: TrieValue, T: AbstractCodePointTrie<'trie, V>,

Source§

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>

Method for easily creating CharIndicesWithTrie on str analogously to char_indices().

Implementors§