Function metafactory::metafactory [-]  [+] [src]

pub fn metafactory<'r, T: ToMetaFactory>(any: T) -> Box<MetaFactory + 'r>

Create a new MetaFactory for any compatible value source.

Compatible value type must have ToMetaFactory implementation. Supported sources are in submodules, look at "clone" for simpliest example.