1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use polars_core::prelude::*;

#[cfg(feature = "hash")]
pub(crate) mod hash;
mod namespace;
#[cfg(feature = "list_to_struct")]
mod to_struct;

pub use namespace::*;
#[cfg(feature = "list_to_struct")]
pub use to_struct::*;

pub trait AsList {
    fn as_list(&self) -> &ListChunked;
}

impl AsList for ListChunked {
    fn as_list(&self) -> &ListChunked {
        self
    }
}