fui_core 0.1.0

Core library of FUI MVVM UI Framework
Documentation
1
2
3
4
5
6
7
use std::{cell::RefCell, rc::Rc};
use crate::ControlObject;

pub trait WindowService {
    fn add_layer(&mut self, control: Rc<RefCell<dyn ControlObject>>);
    fn remove_layer(&mut self, control: &Rc<RefCell<dyn ControlObject>>);
}