[][src]Struct gluon_vm::core::Translator

pub struct Translator<'a, 'e> {
    pub allocator: Arc<Allocator<'a>>,
    // some fields omitted
}

Fields

allocator: Arc<Allocator<'a>>

Methods

impl<'a, 'e> Translator<'a, 'e>[src]

pub fn new(env: &'e dyn PrimitiveEnv<Type = ArcType>) -> Translator<'a, 'e>[src]

pub fn translate_expr(&'a self, expr: &SpannedExpr<Symbol>) -> &'a Expr<'a>[src]

Auto Trait Implementations

impl<'a, 'e> !RefUnwindSafe for Translator<'a, 'e>

impl<'a, 'e> !Send for Translator<'a, 'e>

impl<'a, 'e> !Sync for Translator<'a, 'e>

impl<'a, 'e> Unpin for Translator<'a, 'e>

impl<'a, 'e> !UnwindSafe for Translator<'a, 'e>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'_, T> Captures<'_> for T[src]

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<T> Downcast for T where
    T: Any
[src]

impl<T> From<T> for T[src]

impl<D, T> FromPtr<D> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.