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,
        diag: &mut Diagnostics,
        translator: &T
    ) -> Result<Self::Out>; }

A translated type.

Associated Types

Required Methods

Translate into different flavor.

Implementations on Foreign Types

impl<T, I> Translate<T> for Vec<I> where
    I: Translate<T>,
    T: Translator<Source = I::Source>, 
[src]

[src]

Translate into different flavor.

impl<T, I> Translate<T> for Option<I> where
    I: Translate<T>,
    T: Translator<Source = I::Source>, 
[src]

[src]

Translate into different flavor.

Implementors