[][src]Struct pathtrie::PathTrie

pub struct PathTrie<T: Integer> { /* fields omitted */ }

Implementations

impl<T: Integer> PathTrie<T>[src]

pub fn new() -> Self[src]

pub fn keys<'a>(&'a self) -> impl Iterator<Item = Box<[u8]>> + 'a[src]

pub fn values(&self) -> impl Iterator<Item = &T>[src]

pub fn entries(&self) -> Entries<'_, T>

Notable traits for Entries<'a, T>

impl<'a, T: Integer> Iterator for Entries<'a, T> type Item = (Box<[u8]>, &'a T);
[src]

pub fn raw_entries(&self) -> RawEntries<'_, T>

Notable traits for RawEntries<'a, T>

impl<'a, T: Integer> Iterator for RawEntries<'a, T> type Item = RawEntry<'a, T>;
[src]

pub fn insert<K: AsRef<[u8]>>(&mut self, key: K, value: T)[src]

pub fn get<K: AsRef<[u8]>>(&self, key: K) -> Option<T>[src]

impl<T: Integer> PathTrie<T>[src]

pub fn write_fst<W: Write + Seek>(&self, writer: &mut W) -> Result<(), Error>[src]

Trait Implementations

impl<T: Debug + Integer> Debug for PathTrie<T>[src]

impl<T: Integer> Default for PathTrie<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for PathTrie<T> where
    T: RefUnwindSafe

impl<T> Send for PathTrie<T> where
    T: Send

impl<T> Sync for PathTrie<T> where
    T: Sync

impl<T> Unpin for PathTrie<T> where
    T: Unpin

impl<T> UnwindSafe for PathTrie<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.