1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#[cfg(feature = "strings")]
#[cfg_attr(docsrs, doc(cfg(feature = "strings")))]
mod namespace;
#[cfg(feature = "strings")]
pub use namespace::*;
use polars_core::prelude::*;
pub trait AsUtf8 {
fn as_utf8(&self) -> &Utf8Chunked;
}
impl AsUtf8 for Utf8Chunked {
fn as_utf8(&self) -> &Utf8Chunked {
self
}
}