[][src]Trait byte_trie::BytesTrie

pub trait BytesTrie<T> {
    fn new() -> Self;
fn insert(&mut self, key: &[u8], value: T); }

Represents a trie with node keys having the maximum size of u8.

Meant to be used for any type that can be represented within a single u8, such as a byte, a nibble, or bit.

Required methods

fn new() -> Self

fn insert(&mut self, key: &[u8], value: T)

Loading content...

Implementors

impl<T> BytesTrie<T> for BitTrie<T>[src]

A specialized byte based trie with many different sized nodes

Currently insert only, as that's the only functionality that I needed.

impl<T> BytesTrie<T> for ByteTrie<T>[src]

A specialized byte based trie with many different sized nodes

Currently insert only, as that's the only functionality that I needed.

impl<T> BytesTrie<T> for NibbleTrie<T>[src]

Loading content...