pub trait GenericTypeEx: GenericType {
    // Required method
    fn specialize_by_id(
        context: &dyn TypeSpecializationContext,
        type_id: &GenericTypeId,
        args: &[GenericArg]
    ) -> Result<Self::Concrete, ExtensionError>;
}
Expand description

Trait for introducing helper methods on GenericType.

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<TGenericType: GenericType> GenericTypeEx for TGenericType