Trait protobuf::reflect::runtime_types::RuntimeTypeHashable [−][src]
pub trait RuntimeTypeHashable: RuntimeType {
fn hash_map_get<'a, V>(
map: &'a HashMap<Self::Value, V>,
key: ReflectValueRef<'_>
) -> Option<&'a V>;
}Expand description
Types which can be hashmap keys.
Required methods
fn hash_map_get<'a, V>(
map: &'a HashMap<Self::Value, V>,
key: ReflectValueRef<'_>
) -> Option<&'a V>
fn hash_map_get<'a, V>(
map: &'a HashMap<Self::Value, V>,
key: ReflectValueRef<'_>
) -> Option<&'a V>
Query hash map with a given key.