1//! Life cycle 2use crate::Node; 3 4/// Life cycle trait 5pub trait LifeCycle<T> 6where 7 T: Into<Node>, 8{ 9 /// Create widget 10 fn create(&self) -> T; 11 // Render node to target platform 12 // fn render(&mut self) -> T; 13}