Trait polars_plan::plans::Literal

source ·
pub trait Literal {
    // Required method
    fn lit(self) -> Expr;
}

Required Methods§

source

fn lit(self) -> Expr

Literal expression.

Implementations on Foreign Types§

source§

impl Literal for bool

source§

fn lit(self) -> Expr

source§

impl Literal for f32

source§

fn lit(self) -> Expr

source§

impl Literal for f64

source§

fn lit(self) -> Expr

source§

impl Literal for i8

source§

fn lit(self) -> Expr

source§

impl Literal for i16

source§

fn lit(self) -> Expr

source§

impl Literal for i32

source§

fn lit(self) -> Expr

source§

impl Literal for i64

source§

fn lit(self) -> Expr

source§

impl Literal for i128

source§

fn lit(self) -> Expr

source§

impl Literal for u8

source§

fn lit(self) -> Expr

source§

impl Literal for u16

source§

fn lit(self) -> Expr

source§

impl Literal for u32

source§

fn lit(self) -> Expr

source§

impl Literal for u64

source§

fn lit(self) -> Expr

source§

impl Literal for String

source§

fn lit(self) -> Expr

source§

impl Literal for Vec<u8>

source§

fn lit(self) -> Expr

source§

impl Literal for NaiveDate

Available on crate feature dtype-datetime only.
source§

fn lit(self) -> Expr

source§

impl Literal for NaiveDateTime

Available on crate feature dtype-datetime only.
source§

fn lit(self) -> Expr

source§

impl Literal for Series

source§

fn lit(self) -> Expr

source§

impl Literal for Duration

Available on crate feature dtype-duration only.
source§

fn lit(self) -> Expr

source§

impl Literal for Duration

Available on crate feature dtype-duration only.
source§

fn lit(self) -> Expr

source§

impl<'a> Literal for &'a str

source§

fn lit(self) -> Expr

source§

impl<'a> Literal for &'a [u8]

source§

fn lit(self) -> Expr

Implementors§