polars_lazy::prelude

Trait 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 &str

Source§

fn lit(self) -> Expr

Source§

impl Literal for &[u8]

Source§

fn lit(self) -> Expr

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 TimeDelta

Available on crate feature dtype-duration only.
Source§

fn lit(self) -> Expr

Source§

impl Literal for Scalar

Source§

fn lit(self) -> Expr

Source§

impl Literal for Series

Source§

fn lit(self) -> Expr

Source§

impl Literal for PlSmallStr

Source§

fn lit(self) -> Expr

Implementors§

Source§

impl Literal for LiteralValue

Source§

impl Literal for Duration

Available on crate feature dtype-duration only.
Source§

impl Literal for Null