pub trait TranslateExt<PExt, QExt>{
type Output;
// Required method
fn translate_ext<T, E>(&self, translator: &mut T) -> Result<Self::Output, E>
where T: ExtTranslator<PExt, QExt, E>;
}Expand description
Converts a descriptor using abstract keys to one using specific keys. Uses translator t to do
the actual translation function calls.
Required Associated Types§
Required Methods§
Sourcefn translate_ext<T, E>(&self, translator: &mut T) -> Result<Self::Output, E>where
T: ExtTranslator<PExt, QExt, E>,
fn translate_ext<T, E>(&self, translator: &mut T) -> Result<Self::Output, E>where
T: ExtTranslator<PExt, QExt, E>,
Translates a struct from one generic to another where the translations
for Pk are provided by the given Translator.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.