polars::prelude

Trait IntoScalar

Source
pub trait IntoScalar {
    // Required method
    fn into_scalar(self, dtype: DataType) -> Result<Scalar, PolarsError>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl IntoScalar for bool

Source§

impl IntoScalar for f32

Source§

impl IntoScalar for f64

Source§

impl IntoScalar for i8

Source§

impl IntoScalar for i16

Source§

impl IntoScalar for i32

Source§

impl IntoScalar for i64

Source§

impl IntoScalar for u8

Source§

impl IntoScalar for u16

Source§

impl IntoScalar for u32

Source§

impl IntoScalar for u64

Implementors§