Type Alias trie_rs::inc_search::Position

source ·
pub type Position = LoudsNodeNum;
Expand description

Search position in the trie.

§Why do this?

“Position” is more descriptive for incremental search purposes, and without it a user would have to explicitly depend on louds-rs.

Aliased Type§

struct Position(pub u64);

Fields§

§0: u64

Trait Implementations§

source§

impl<'a, L, V> From<IncSearch<'a, L, V>> for Position

Retrieve the position the search is on. Useful for hanging on to a search without having to fight the borrow checker because its borrowing a trie.

source§

fn from(inc_search: IncSearch<'a, L, V>) -> Self

Converts to this type from the input type.