aboutsummaryrefslogtreecommitdiff
path: root/src/ptr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptr.rs')
-rw-r--r--src/ptr.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ptr.rs b/src/ptr.rs
new file mode 100644
index 0000000..414d086
--- /dev/null
+++ b/src/ptr.rs
@@ -0,0 +1,6 @@
+#![allow(clippy::module_name_repetitions)]
+use std::rc::Rc;
+
+pub type InterfacePtr<Interface> = Box<Interface>;
+
+pub type FactoryPtr<FactoryInterface> = Rc<FactoryInterface>;