[−][src]Trait panoradix::RadixKey
A key that can be inserted in both RadixSet
and RadixMap
.
These keys should be equivalent to slices of T: Ord + Eq + Clone
.
Associated Types
type Component: KeyComponent
A single component of the key. Note that it should be Ord + Eq + Clone
.
Required methods
fn as_slice<'a>(&'a self) -> &'a [Self::Component]
Get a slice of key components to integrate the key in a radix tree.
fn from_vec(v: Vec<Self::Component>) -> Self::Owned
Given a merged vec of components, build an owned.