[][src]Trait fui_core::ControlExtensions

pub trait ControlExtensions<D> {
    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>>>; }

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>>>

Loading content...

Implementations on Foreign Types

impl<D: 'static> ControlExtensions<D> for Rc<RefCell<StyledControl<D>>>[src]

Loading content...

Implementors

Loading content...