1 2 3 4 5
pub trait LifeCycle { fn handle_mount(&mut self); fn handle_render(&mut self); fn handle_unmount(&mut self); }