Function vstd::std_specs::hash::ex_hash_map_get
source · pub exec fn ex_hash_map_get<'a, Key, Value, S, Q>(
m: &'a HashMap<Key, Value, S>,
k: &Q
) -> result : Option<&'a Value>
Expand description
ensures
obeys_key_model::<Key>() && builds_valid_hashers::<S>()
==> match result {
Some(v) => maps_borrowed_key_to_value(m@, k, *v),
None => !contains_borrowed_key(m@, k),
},