Skip to main content

WithTrie

Trait WithTrie 

Source
pub trait WithTrie<'trie, T, V>
where V: TrieValue, T: AbstractCodePointTrie<'trie, V>,
{ // Required method fn trie(&self) -> &'trie T; }
Expand description

Provides a trie accessor for types (likely iterators) that are holding a reference to a type that implements AbstractCodePointTrie.

Required Methods§

Source

fn trie(&self) -> &'trie T

Get a reference to the trie.

Implementors§

Source§

impl<'slice, 'trie, T, V> WithTrie<'trie, T, V> for CharIndicesWithTrie<'slice, 'trie, T, V>
where V: TrieValue, T: AbstractCodePointTrie<'trie, V>,

Source§

impl<'slice, 'trie, T, V> WithTrie<'trie, T, V> for CharIndicesWithTrieDefaultForAscii<'slice, 'trie, T, V>
where V: TrieValue + Default, T: AbstractCodePointTrie<'trie, V>,

Source§

impl<'slice, 'trie, T, V> WithTrie<'trie, T, V> for CharsWithTrie<'slice, 'trie, T, V>
where V: TrieValue, T: AbstractCodePointTrie<'trie, V>,

Source§

impl<'slice, 'trie, T, V> WithTrie<'trie, T, V> for CharsWithTrieDefaultForAscii<'slice, 'trie, T, V>
where V: TrieValue + Default, T: AbstractCodePointTrie<'trie, V>,

Source§

impl<'slice, 'trie, T, V> WithTrie<'trie, T, V> for Latin1CharIndicesWithTrie<'slice, 'trie, T, V>
where V: TrieValue, T: AbstractCodePointTrie<'trie, V>,

Source§

impl<'slice, 'trie, T, V> WithTrie<'trie, T, V> for Latin1CharsWithTrie<'slice, 'trie, T, V>
where V: TrieValue, T: AbstractCodePointTrie<'trie, V>,

Source§

impl<'trie, T, V, I> WithTrie<'trie, T, V> for CharIterWithTrie<'trie, T, V, I>
where V: TrieValue, T: AbstractCodePointTrie<'trie, V>, I: Iterator<Item = char>,