[][src]Trait fui_core::ViewModelObject

pub trait ViewModelObject {
    fn create_view(&self) -> Rc<RefCell<dyn ControlObject>>;
fn box_clone(&self) -> Box<dyn ViewModelObject>;
fn downgrade(&self) -> Box<dyn WeakViewModelObject>; }

Object safe version of ViewModel's trait.

Required methods

fn create_view(&self) -> Rc<RefCell<dyn ControlObject>>

fn box_clone(&self) -> Box<dyn ViewModelObject>

fn downgrade(&self) -> Box<dyn WeakViewModelObject>

Loading content...

Implementations on Foreign Types

impl<T: ViewModel + 'static> ViewModelObject for Rc<RefCell<T>>[src]

Loading content...

Implementors

Loading content...