Function metafactory::argless_as_factory
[-]
[+]
[src]
pub fn argless_as_factory<T: ToMetaFactory>(any: T) -> Box<Any>
Create a new MetaFactory and return Factory in Box<Any> for source with no arguments.
Compatible value type must have ToMetaFactory implementation.
Supported sources are in submodules, look at "clone" for simpliest example.