1//! Life cycle 2use crate::Node; 3 4/// Life cycle trait 5pub trait LifeCycle { 6 /// Create widget 7 fn create(&self) -> Node; 8}