Trait fera_graph::props::PropGet
source · pub trait PropGet<K> {
type Output: Sized;
fn get(&self, key: K) -> Self::Output;
fn map<F, O>(self, fun: F) -> Map<Self, F>
where
Self: Sized,
F: Fn(Self::Output) -> O,
{ ... }
fn by_ref(&self) -> &Self { ... }
}
Expand description
An abstract property that maps keys in domain K
to the corresponding values.