pub fn key(&self) -> Option<&K> {
        match self {
            Trie::Leaf { key, .. } => Some(key),
            _ => None,
        }
    }
/// Gets a reference to the root key of this Trie.
Gets a reference to the root key of this Trie.
Gets a reference to the root key of this Trie .
pub fn key(&self) -> Option<&K> {
        match self {
            Trie::Leaf { key, .. } => Some(key),
            _ => None,
        }
    }
pub fn key ( & self ) -> Option < & K > { match self { Trie :: Leaf { key , .. } => Some ( key ) , _ => None , } }
Gets a reference to the root key of this Trie.
Gets a reference to the root key of this Trie .
&self
&self