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