ExecSpecMapDom

Trait ExecSpecMapDom 

Source
pub trait ExecSpecMapDom<'a>: Sized + DeepView {
    type Key: DeepView + DeepViewClone;

    // Required method
    exec fn exec_dom(self) -> HashSet<Self::Key>;
}
Expand description

Spec for executable version of Map::dom.

Required Associated Types§

Required Methods§

Source

exec fn exec_dom(self) -> HashSet<Self::Key>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a, K, V> ExecSpecMapDom<'a> for &'a HashMap<K, V>

Source§

exec fn exec_dom(self) -> res : HashSet<K>

ensures
res.deep_view() =~= self.deep_view().dom(),
Source§

type Key = K

Implementors§