pub struct NameTrieExt { /* private fields */ }Expand description
A trie (prefix tree) for efficient prefix search over names.
Implementations§
Source§impl NameTrieExt
impl NameTrieExt
Sourcepub fn with_prefix(&self, prefix: &str) -> Vec<String>
pub fn with_prefix(&self, prefix: &str) -> Vec<String>
Collects all names with the given prefix.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NameTrieExt
impl RefUnwindSafe for NameTrieExt
impl Send for NameTrieExt
impl Sync for NameTrieExt
impl Unpin for NameTrieExt
impl UnsafeUnpin for NameTrieExt
impl UnwindSafe for NameTrieExt
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