Skip to main content

MapRef

Trait MapRef 

Source
pub trait MapRef<I>: SpecMap<Output = Self::O>
where I: DeepView<V = Self::Input>,
{ type O; // Required method exec fn map(&self, i: &I) -> o : Self::O; }

Required Associated Types§

Source

type O

Required Methods§

Source

exec fn map(&self, i: &I) -> o : Self::O

ensures
self.spec_map(i.deep_view()) == o,

Implementors§