Trait fui_core::ControlExtensions
source · pub trait ControlExtensions<D> {
// Required methods
fn with_vm<V: 'static, F: 'static + Fn(&Rc<RefCell<V>>, &mut StyledControl<D>)>(
self,
vm: &Rc<RefCell<V>>,
f: F
) -> Self;
fn with_binding<V: 'static, F: 'static + Fn(&mut V, &mut StyledControl<D>) -> EventSubscription>(
self,
bindings: &mut Vec<EventSubscription>,
vm: &Rc<RefCell<V>>,
f: F
) -> Rc<RefCell<StyledControl<D>>>;
}