1 2 3 4 5 6
#![allow(clippy::module_name_repetitions)] use std::rc::Rc; pub type InterfacePtr<Interface> = Box<Interface>; pub type FactoryPtr<FactoryInterface> = Rc<FactoryInterface>;