pub trait Optional: Copy {
    type Inner: Copy;
    fn none() -> Self;
fn some(v: Self::Inner) -> Self;
fn is_none(&self) -> bool;
fn inner(&self) -> Option<Self::Inner>; fn is_some(&self) -> bool { ... } }
Expand description

To represent empty trie entry. Provided implementations for integer primitive types as -1 represents None.

Associated Types

Required methods

Provided methods

Implementations on Foreign Types

Implementors