polars::prelude

Trait VecHash

Source
pub trait VecHash {
    // Provided methods
    fn vec_hash(
        &self,
        _random_state: RandomState,
        _buf: &mut Vec<u64>,
    ) -> Result<(), PolarsError> { ... }
    fn vec_hash_combine(
        &self,
        _random_state: RandomState,
        _hashes: &mut [u64],
    ) -> Result<(), PolarsError> { ... }
}

Provided Methods§

Source

fn vec_hash( &self, _random_state: RandomState, _buf: &mut Vec<u64>, ) -> Result<(), PolarsError>

Compute the hash for all values in the array.

Source

fn vec_hash_combine( &self, _random_state: RandomState, _hashes: &mut [u64], ) -> Result<(), PolarsError>

Implementors§