Trait metafactory::ToMetaFactoryUnstable
[-]
[+]
[src]
pub trait ToMetaFactory { fn to_metafactory<'a>(self) -> Box<MetaFactory + 'a>; }
Trait for values convertable to MetaFactory
.
This trait is implemented for values that can be used as sources for object creation.
Required Methods
fn to_metafactory<'a>(self) -> Box<MetaFactory + 'a>
Creates a MetaFactory
that has information about object
constructor: produced object type, argument types, and
a method to get this getter.
Implementors
impl<T: 'static + Clone> ToMetaFactory for T
impl<T: 'static> ToMetaFactory for || -> T
impl<A: 'static, T: 'static> ToMetaFactory for |A| -> T
impl<A1: 'static, A2: 'static, T: 'static> ToMetaFactory for |A1, A2| -> T
impl<A1: 'static, A2: 'static, A3: 'static, T: 'static> ToMetaFactory for |A1, A2, A3| -> T
impl<A1: 'static, A2: 'static, A3: 'static, A4: 'static, T: 'static> ToMetaFactory for |A1, A2, A3, A4| -> T
impl<A1: 'static, A2: 'static, A3: 'static, A4: 'static, A5: 'static, T: 'static> ToMetaFactory for |A1, A2, A3, A4, A5| -> T
impl<A1: 'static, A2: 'static, A3: 'static, A4: 'static, A5: 'static, A6: 'static, T: 'static> ToMetaFactory for |A1, A2, A3, A4, A5, A6| -> T
impl<A1: 'static, A2: 'static, A3: 'static, A4: 'static, A5: 'static, A6: 'static, A7: 'static, T: 'static> ToMetaFactory for |A1, A2, A3, A4, A5, A6, A7| -> T
impl<A1: 'static, A2: 'static, A3: 'static, A4: 'static, A5: 'static, A6: 'static, A7: 'static, A8: 'static, T: 'static> ToMetaFactory for |A1, A2, A3, A4, A5, A6, A7, A8| -> T
impl<A1: 'static, A2: 'static, A3: 'static, A4: 'static, A5: 'static, A6: 'static, A7: 'static, A8: 'static, A9: 'static, T: 'static> ToMetaFactory for |A1, A2, A3, A4, A5, A6, A7, A8, A9| -> T
impl<A1: 'static, A2: 'static, A3: 'static, A4: 'static, A5: 'static, A6: 'static, A7: 'static, A8: 'static, A9: 'static, A10: 'static, T: 'static> ToMetaFactory for |A1, A2, A3, A4, A5, A6, A7, A8, A9, A10| -> T
impl<A1: 'static, A2: 'static, A3: 'static, A4: 'static, A5: 'static, A6: 'static, A7: 'static, A8: 'static, A9: 'static, A10: 'static, A11: 'static, T: 'static> ToMetaFactory for |A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11| -> T
impl<A1: 'static, A2: 'static, A3: 'static, A4: 'static, A5: 'static, A6: 'static, A7: 'static, A8: 'static, A9: 'static, A10: 'static, A11: 'static, A12: 'static, T: 'static> ToMetaFactory for |A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12| -> T