aboutsummaryrefslogtreecommitdiff
path: root/src/ptr.rs
blob: 00c74f476f4a2a2484edd612b06d01c99661b74c (plain)
1
2
3
4
5
6
7
8
#![allow(clippy::module_name_repetitions)]
use std::rc::Rc;

pub type TransientPtr<Interface> = Box<Interface>;

pub type SingletonPtr<Interface> = Rc<Interface>;

pub type FactoryPtr<FactoryInterface> = Rc<FactoryInterface>;