[][src]Trait init_tree::Init

pub trait Init: Sized {
    fn init(initialized: &mut HashMap<TypeId, Box<dyn Any>>) -> Self;
fn self_def() -> TypeInitDef;
fn deps_list() -> &'static [TypeInitDef];
fn deep_deps_list(t: &mut Vec<TypeInitDef>, call_depth: u32); }

Required methods

fn init(initialized: &mut HashMap<TypeId, Box<dyn Any>>) -> Self

fn self_def() -> TypeInitDef

fn deps_list() -> &'static [TypeInitDef]

fn deep_deps_list(t: &mut Vec<TypeInitDef>, call_depth: u32)

Loading content...

Implementors

impl<T: 'static + Default> Init for T[src]

Loading content...