Trait AsBTreeMap

Source
pub trait AsBTreeMap {
    type Key: Ord;
    type Value;

    // Required method
    unsafe fn as_btree_map(
        &self,
    ) -> Result<BTreeMap<Self::Key, Self::Value>, CError>;
}

Required Associated Types§

Required Methods§

Source

unsafe fn as_btree_map( &self, ) -> Result<BTreeMap<Self::Key, Self::Value>, CError>

Implementors§

Source§

impl<K, V> AsBTreeMap for CArray<CKeyValue<K, V>>
where K: Ord + Clone, V: Clone,

Source§

type Key = K

Source§

type Value = V