Trait reproto_core::translator::Translate
[−]
[src]
pub trait Translate<T> where
T: Translator<Source = Self::Source>, { type Source: 'static + Flavor; type Out; fn translate(self, translator: &T) -> Result<Self::Out>; }
A translated type.
Associated Types
Required Methods
Implementations on Foreign Types
impl<T, I> Translate<T> for Vec<I> where
I: Translate<T>,
T: Translator<Source = I::Source>,
[src]
I: Translate<T>,
T: Translator<Source = I::Source>,
impl<T, I> Translate<T> for Option<I> where
I: Translate<T>,
T: Translator<Source = I::Source>,
[src]
I: Translate<T>,
T: Translator<Source = I::Source>,
Implementors
impl<F: 'static, T> Translate<T> for RpChannel<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpChannel<T::Target>;impl<F: 'static, T> Translate<T> for RpDecl<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpDecl<T::Target>;impl<F: 'static, T> Translate<T> for RpEndpointHttp<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpEndpointHttp<T::Target>;impl<F: 'static, T> Translate<T> for RpEndpointArgument<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpEndpointArgument<T::Target>;impl<F: 'static, T> Translate<T> for RpEndpoint<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpEndpoint<T::Target>;impl<F: 'static, T> Translate<T> for RpEnumBody<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpEnumBody<T::Target>;impl<F: 'static, T> Translate<T> for RpVariant<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpVariant<T::Target>;impl<F: 'static, T> Translate<T> for RpField<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpField<T::Target>;impl<F: 'static, T> Translate<T> for RpFile<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpFile<T::Target>;impl<F: 'static, T> Translate<T> for RpInterfaceBody<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpInterfaceBody<T::Target>;impl<F: 'static, T> Translate<T> for RpSubType<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpSubType<T::Target>;impl<F: 'static, T> Translate<T> for RpName<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpName<T::Target>;impl<F: 'static, T> Translate<T> for RpPathPart<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpPathPart<T::Target>;impl<F: 'static, T> Translate<T> for RpPathStep<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpPathStep<T::Target>;impl<F: 'static, T> Translate<T> for RpPathSpec<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpPathSpec<T::Target>;impl<F: 'static, T> Translate<T> for RpServiceBody<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpServiceBody<T::Target>;impl<F: 'static, T> Translate<T> for RpTupleBody<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpTupleBody<T::Target>;impl<F: 'static, T> Translate<T> for RpTypeBody<F> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = RpTypeBody<T::Target>;impl<T, I> Translate<T> for Loc<I> where
I: Translate<T>,
T: Translator<Source = I::Source>, type Source = I::Source; type Out = Loc<I::Out>;impl<T, F: 'static> Translate<T> for Fields<F::Field> where
F: Flavor,
T: Translator<Source = F>, type Source = F; type Out = Vec<Loc<<T::Target as Flavor>::Field>>;