Trait polars_utils::nulls::IsNull

source ·
pub trait IsNull {
    type Inner;

    const HAS_NULLS: bool;

    // Required methods
    fn is_null(&self) -> bool;
    fn unwrap_inner(self) -> Self::Inner;
}

Required Associated Types§

Required Associated Constants§

Required Methods§

source

fn is_null(&self) -> bool

source

fn unwrap_inner(self) -> Self::Inner

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IsNull for bool

source§

const HAS_NULLS: bool = false

§

type Inner = bool

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> bool

source§

impl IsNull for f32

source§

const HAS_NULLS: bool = false

§

type Inner = f32

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> f32

source§

impl IsNull for f64

source§

const HAS_NULLS: bool = false

§

type Inner = f64

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> f64

source§

impl IsNull for i8

source§

const HAS_NULLS: bool = false

§

type Inner = i8

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> i8

source§

impl IsNull for i16

source§

const HAS_NULLS: bool = false

§

type Inner = i16

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> i16

source§

impl IsNull for i32

source§

const HAS_NULLS: bool = false

§

type Inner = i32

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> i32

source§

impl IsNull for i64

source§

const HAS_NULLS: bool = false

§

type Inner = i64

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> i64

source§

impl IsNull for i128

source§

const HAS_NULLS: bool = false

§

type Inner = i128

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> i128

source§

impl IsNull for u8

source§

const HAS_NULLS: bool = false

§

type Inner = u8

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> u8

source§

impl IsNull for u16

source§

const HAS_NULLS: bool = false

§

type Inner = u16

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> u16

source§

impl IsNull for u32

source§

const HAS_NULLS: bool = false

§

type Inner = u32

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> u32

source§

impl IsNull for u64

source§

const HAS_NULLS: bool = false

§

type Inner = u64

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> u64

source§

impl IsNull for u128

source§

const HAS_NULLS: bool = false

§

type Inner = u128

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> u128

source§

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

source§

const HAS_NULLS: bool = false

§

type Inner = &'a [u8]

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> Self::Inner

source§

impl<'a, T: IsNull + ?Sized> IsNull for &'a T

source§

const HAS_NULLS: bool = false

§

type Inner = &'a T

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> Self::Inner

source§

impl<T> IsNull for Option<T>

source§

const HAS_NULLS: bool = true

§

type Inner = T

source§

fn is_null(&self) -> bool

source§

fn unwrap_inner(self) -> Self::Inner

Implementors§

source§

impl<'a> IsNull for BytesHash<'a>

source§

const HAS_NULLS: bool = true

§

type Inner = BytesHash<'a>

source§

impl<T: IsNull> IsNull for TotalOrdWrap<T>

source§

const HAS_NULLS: bool = T::HAS_NULLS

§

type Inner = <T as IsNull>::Inner