pub trait TranslateExtParam<PArg, QArg>where
PArg: ExtParam,
QArg: ExtParam,{
type Output;
// Required method
fn translate_ext<T, E>(&self, translator: &mut T) -> Result<Self::Output, E>
where T: ExtParamTranslator<PArg, QArg, E>;
}
Expand description
Converts a descriptor using abstract extension parameters to one using concrete ones, or vice-versa
Required Associated Types§
Required Methods§
sourcefn translate_ext<T, E>(&self, translator: &mut T) -> Result<Self::Output, E>where
T: ExtParamTranslator<PArg, QArg, E>,
fn translate_ext<T, E>(&self, translator: &mut T) -> Result<Self::Output, E>where T: ExtParamTranslator<PArg, QArg, E>,
Translates a struct from one generic to another where the translations
for Pk are provided by the given ExtParamTranslator
.