[][src]Trait sixtyfps_corelib::properties::Binding

pub trait Binding<T> {
    pub fn evaluate(&self, old_value: &T) -> T;
}

Types that can be set as bindings for a Property

Required methods

pub fn evaluate(&self, old_value: &T) -> T[src]

Evaluate the binding and return the new value

Loading content...

Implementors

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

Loading content...