Struct fera_graph::props::FnProp [] [src]

pub struct FnProp<F>(pub F);

A read only property backed by a function.

Trait Implementations

impl<F: Clone> Clone for FnProp<F>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Copy> Copy for FnProp<F>
[src]

impl<F, I, T> PropGet<I> for FnProp<F> where
    F: Fn(I) -> T,
    T: Sized
[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.