Trait AsHashMap

Source
pub trait AsHashMap {
    type Key: Hash + Eq + Clone;
    type Value: Clone;

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

Required Associated Types§

Required Methods§

Source

unsafe fn as_hash_map(&self) -> Result<HashMap<Self::Key, Self::Value>>

Implementors§

Source§

impl<K: Hash + Eq + Clone, V: Clone> AsHashMap for CArray<CKeyValue<K, V>>

Source§

type Key = K

Source§

type Value = V