polars_core::schema

Trait SchemaNamesAndDtypes

Source
pub trait SchemaNamesAndDtypes {
    type DataType: Debug + Clone + Default + PartialEq;

    const IS_ARROW: bool;

    // Required method
    fn iter_names_and_dtypes(
        &self,
    ) -> impl ExactSizeIterator<Item = (&PlSmallStr, &Self::DataType)>;
}

Required Associated Constants§

Required Associated Types§

Required Methods§

Source

fn iter_names_and_dtypes( &self, ) -> impl ExactSizeIterator<Item = (&PlSmallStr, &Self::DataType)>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§