diff options
Diffstat (limited to 'src/ptr.rs')
-rw-r--r-- | src/ptr.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,4 +3,6 @@ use std::rc::Rc; pub type TransientPtr<Interface> = Box<Interface>; +pub type SingletonPtr<Interface> = Rc<Interface>; + pub type FactoryPtr<FactoryInterface> = Rc<FactoryInterface>; |