pub struct Char16TrieIterator<'a>(/* private fields */);๐Deprecated since 2.4.0:
use Char16TrieCursor
Expand description
This struct represents an iterator over a Char16Trie.
Implementationsยง
Sourceยงimpl<'a> Char16TrieIterator<'a>
impl<'a> Char16TrieIterator<'a>
Sourcepub fn new(trie: &'a ZeroSlice<u16>) -> Self
pub fn new(trie: &'a ZeroSlice<u16>) -> Self
Returns a new Char16TrieIterator backed by borrowed data for the trie array
Sourcepub fn next(&mut self, c: char) -> TrieResult
pub fn next(&mut self, c: char) -> TrieResult
Traverses the trie from the current state for this input char.
Sourcepub fn next32(&mut self, c: u32) -> TrieResult
pub fn next32(&mut self, c: u32) -> TrieResult
Traverses the trie from the current state for this input char.
Sourcepub fn next16(&mut self, c: u16) -> TrieResult
pub fn next16(&mut self, c: u16) -> TrieResult
Traverses the trie from the current state for this input char.
Trait Implementationsยง
Sourceยงimpl<'a> Clone for Char16TrieIterator<'a>
impl<'a> Clone for Char16TrieIterator<'a>
Auto Trait Implementationsยง
impl<'a> Freeze for Char16TrieIterator<'a>
impl<'a> RefUnwindSafe for Char16TrieIterator<'a>
impl<'a> Send for Char16TrieIterator<'a>
impl<'a> Sync for Char16TrieIterator<'a>
impl<'a> Unpin for Char16TrieIterator<'a>
impl<'a> UnsafeUnpin for Char16TrieIterator<'a>
impl<'a> UnwindSafe for Char16TrieIterator<'a>
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more