[−][src]Trait init_tree::Init
The trait that must be implemented for a type before it can be used with the InitTree
.
Automatically implemented for Default
types.
You are discouraged from implementing this manually, and should use the impl_init
macro
instead.
Required methods
fn init(
initialized: &mut HashMap<TypeId, RefCell<Box<dyn Any>>>
) -> Option<Self>
initialized: &mut HashMap<TypeId, RefCell<Box<dyn Any>>>
) -> Option<Self>