Trait polars_lazy::prelude::Literal

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

Required Methods§

fn lit(self) -> Expr

Literal expression.

Implementations on Foreign Types§

§

impl Literal for bool

§

fn lit(self) -> Expr

§

impl Literal for f32

§

fn lit(self) -> Expr

§

impl Literal for f64

§

fn lit(self) -> Expr

§

impl Literal for i8

§

fn lit(self) -> Expr

§

impl Literal for i16

§

fn lit(self) -> Expr

§

impl Literal for i32

§

fn lit(self) -> Expr

§

impl Literal for i64

§

fn lit(self) -> Expr

§

impl Literal for i128

§

fn lit(self) -> Expr

§

impl Literal for u8

§

fn lit(self) -> Expr

§

impl Literal for u16

§

fn lit(self) -> Expr

§

impl Literal for u32

§

fn lit(self) -> Expr

§

impl Literal for u64

§

fn lit(self) -> Expr

§

impl Literal for Series

§

fn lit(self) -> Expr

§

impl Literal for String

§

fn lit(self) -> Expr

§

impl Literal for Vec<u8>

§

fn lit(self) -> Expr

§

impl Literal for NaiveDate

Available on crate feature dtype-datetime only.
§

fn lit(self) -> Expr

§

impl Literal for NaiveDateTime

Available on crate feature dtype-datetime only.
§

fn lit(self) -> Expr

§

impl Literal for TimeDelta

Available on crate feature dtype-duration only.
§

fn lit(self) -> Expr

§

impl<'a> Literal for &'a str

§

fn lit(self) -> Expr

§

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

§

fn lit(self) -> Expr

Implementors§

§

impl Literal for LiteralValue

§

impl Literal for Duration

Available on crate feature dtype-duration only.
§

impl Literal for Null