pub trait IntoDynInstance {
type DynType: 'static;
// Required method
fn into_dyn(self, instance_id: ModuleInstanceId) -> Self::DynType;
}
Expand description
A type that has a Dyn*
, type erased version of itself
Required Associated Types§
Required Methods§
sourcefn into_dyn(self, instance_id: ModuleInstanceId) -> Self::DynType
fn into_dyn(self, instance_id: ModuleInstanceId) -> Self::DynType
Convert self
into its type-erased equivalent