pub trait IntoExpr {
// Required method
fn into_expr(self) -> Result<Expr>;
}Expand description
What converts to an expression, possibly failing: anything that converts into an Expr (a
node, a Var, a Rust i32, f32 and the like), and an ExprResult, an
expression under construction, which gives the first error any of its steps raised. The
constructors and functions that can fail take their expression operands as impl IntoExpr, so
an ExprResult passes straight in and ? on their result covers it.