[][src]Trait voile::syntax::core::ast::RedEx

pub trait RedEx: Sized {
    fn reduce_with_dbi(self, arg: Val, dbi: DBI) -> Val;
fn reduce_with_dbi_borrow(self, arg: &Val, dbi: DBI) -> Val; }

Reducible expressions.

Required methods

fn reduce_with_dbi(self, arg: Val, dbi: DBI) -> Val

This is primarily a private implementation-related API. Use at your own risk.

fn reduce_with_dbi_borrow(self, arg: &Val, dbi: DBI) -> Val

When the argument is not likely to be used, prefer this over reduce_with_dbi.

Loading content...

Implementors

impl RedEx for Neutral[src]

impl RedEx for Val[src]

Loading content...