H3ResolutionOp

Trait H3ResolutionOp 

Source
pub trait H3ResolutionOp {
    // Required methods
    fn h3_resolution<IX, S>(
        &self,
        index_column_name: S,
    ) -> Result<UInt8Chunked, Error>
       where IX: IndexValue,
             S: AsRef<str>;
    fn h3_partition_by_resolution<IX, S>(
        &self,
        index_column_name: S,
    ) -> Result<Vec<(u8, Self)>, Error>
       where Self: Sized,
             IX: IndexValue,
             S: AsRef<str>;
}

Required Methods§

Source

fn h3_resolution<IX, S>( &self, index_column_name: S, ) -> Result<UInt8Chunked, Error>
where IX: IndexValue, S: AsRef<str>,

obtain the contained H3 resolutions

Source

fn h3_partition_by_resolution<IX, S>( &self, index_column_name: S, ) -> Result<Vec<(u8, Self)>, Error>
where Self: Sized, IX: IndexValue, S: AsRef<str>,

Partition the dataframe into separate frames for each H3 resolution found in the contents.

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.

Implementations on Foreign Types§

Source§

impl H3ResolutionOp for DataFrame

Source§

fn h3_resolution<IX, S>( &self, index_column_name: S, ) -> Result<UInt8Chunked, Error>
where IX: IndexValue, S: AsRef<str>,

Source§

fn h3_partition_by_resolution<IX, S>( &self, index_column_name: S, ) -> Result<Vec<(u8, Self)>, Error>
where Self: Sized, IX: IndexValue, S: AsRef<str>,

Implementors§