LowerableExpr

Trait LowerableExpr 

Source
pub trait LowerableExpr {
    // Required method
    fn lower<L>(self, l: &L) -> Result<L::CellOutput>
       where L: ExprLowering + ?Sized;
}
Expand description

Declares that the type can be lowered into an expression.

Required Methods§

Source

fn lower<L>(self, l: &L) -> Result<L::CellOutput>
where L: ExprLowering + ?Sized,

Transforms the value into an expression.

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.

Implementations on Foreign Types§

Source§

impl<Lw: LowerableExpr> LowerableExpr for Box<Lw>

Source§

fn lower<L>(self, l: &L) -> Result<L::CellOutput>
where L: ExprLowering + ?Sized,

Source§

impl<T, E> LowerableExpr for Result<T, E>
where T: LowerableExpr, Error: From<E>,

Source§

fn lower<L>(self, l: &L) -> Result<L::CellOutput>
where L: ExprLowering + ?Sized,

Implementors§