Skip to main content

WidgetPropertyResolver

Type Alias WidgetPropertyResolver 

Source
pub type WidgetPropertyResolver<T> = Rc<dyn Fn(&WidgetStates) -> T>;
Expand description

Signature for the function that returns a value of type T based on a given set of states.

Aliased Typeยง

pub struct WidgetPropertyResolver<T> { /* private fields */ }