Skip to main content

CharsWithTrieDefaultForAsciiEx

Trait CharsWithTrieDefaultForAsciiEx 

Source
pub trait CharsWithTrieDefaultForAsciiEx<'slice, 'trie, T, V>
where V: TrieValue + Default, T: AbstractCodePointTrie<'trie, V>,
{ // Required methods fn chars_with_trie_default_for_ascii( &'slice self, trie: &'trie T, ) -> CharsWithTrieDefaultForAscii<'slice, 'trie, T, V> ; fn char_indices_with_trie_default_for_ascii( &'slice self, trie: &'trie T, ) -> CharIndicesWithTrieDefaultForAscii<'slice, 'trie, T, V> ; }
Expand description

Adds convenience methods to str.

Required Methods§

Source

fn chars_with_trie_default_for_ascii( &'slice self, trie: &'trie T, ) -> CharsWithTrieDefaultForAscii<'slice, 'trie, T, V>

Method for easily creating CharsWithTrie on str analogously to chars().

Source

fn char_indices_with_trie_default_for_ascii( &'slice self, trie: &'trie T, ) -> CharIndicesWithTrieDefaultForAscii<'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> CharsWithTrieDefaultForAsciiEx<'slice, 'trie, T, V> for str
where V: TrieValue + Default, T: AbstractCodePointTrie<'trie, V>,

Source§

fn chars_with_trie_default_for_ascii( &'slice self, trie: &'trie T, ) -> CharsWithTrieDefaultForAscii<'slice, 'trie, T, V>

Method for easily creating CharsWithTrie on str analogously to chars().

Source§

fn char_indices_with_trie_default_for_ascii( &'slice self, trie: &'trie T, ) -> CharIndicesWithTrieDefaultForAscii<'slice, 'trie, T, V>

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

Implementors§