lit

Function lit 

Source
pub fn lit(val: impl Into<Literal>) -> Expr
Expand description

Creates an Expr::Literal node from any type implementing Into<Literal>.