Struct fera_graph::props::Map [] [src]

pub struct Map<P, F>(_, _);

A property that maps the value of a wrapped property with a function.

This struct is created by PropGet::map.

Trait Implementations

impl<K, P, F, O> PropGet<K> for Map<P, F> where
    P: PropGet<K>,
    F: Fn(P::Output) -> O, 
[src]

[src]

Returns the value associated with key.

[src]

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

[src]

Returns a reference to this property.