Trait proof_of_sql::sql::transform::LiteralConversion

source ·
pub trait LiteralConversion {
    // Required method
    fn to_lit(&self) -> Expr;
}
Expand description

Convert a Rust type to a Polars Expr type.

Required Methods§

source

fn to_lit(&self) -> Expr

Convert the Rust type to a Polars Expr type.

Implementations on Foreign Types§

source§

impl LiteralConversion for bool

source§

fn to_lit(&self) -> Expr

source§

impl LiteralConversion for i16

source§

fn to_lit(&self) -> Expr

source§

impl LiteralConversion for i32

source§

fn to_lit(&self) -> Expr

source§

impl LiteralConversion for i64

source§

fn to_lit(&self) -> Expr

source§

impl LiteralConversion for i128

source§

fn to_lit(&self) -> Expr

Implementors§