blob: c97fc0957245635cdf0b24508d3f45c5031e91ee (
plain)
1
2
3
4
5
6
7
8
9
10
|
#![allow(clippy::module_name_repetitions)]
use crate::libs::intertrait::CastFrom;
use crate::ptr::InterfacePtr;
pub trait IFactory<Args, ReturnInterface>:
Fn<Args, Output = InterfacePtr<ReturnInterface>> + CastFrom
where
ReturnInterface: 'static + ?Sized,
{
}
|