Trait fera_graph::props::PropGet [] [src]

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 { ... } }

An abstract property that maps keys in domain K to the corresponding values.

Associated Types

Required Methods

Returns the value associated with key.

Provided Methods

Creates a mapped property that maps each property value using fun.

Returns a reference to this property.

Implementations on Foreign Types

impl<'a, K, P: PropGet<K>> PropGet<K> for &'a P
[src]

[src]

[src]

[src]

Implementors