[][src]Trait propertybindings::properties::PropertyBindingFn

pub trait PropertyBindingFn<T> {
    fn run(&self) -> Option<T>;

    fn description(&self) -> String { ... }
}

A binding is a function that returns a value of type T

Required methods

fn run(&self) -> Option<T>

Loading content...

Provided methods

fn description(&self) -> String

Loading content...

Implementations on Foreign Types

impl<F, T> PropertyBindingFn<T> for Option<F> where
    F: Fn() -> Option<T>, 
[src]

impl<F, T> PropertyBindingFn<T> for (String, F) where
    F: Fn() -> Option<T>, 
[src]

Loading content...

Implementors

impl<F, T> PropertyBindingFn<T> for F where
    F: Fn() -> T, 
[src]

Loading content...