pub fn hash_datum(datum: impl ToDatumRef, state: &mut impl Hasher)Expand description
Feeds the raw scalar reference of datum to the given state, which should behave the same
as crate::array::Array::hash_at, where NULL value will be carefully handled.
FIXME: the result of this function might be different from std::hash::Hash due to the
type alias of DatumRef = Option<_>, we should manually implement std::hash::Hash for
DatumRef in the future when it becomes a newtype. (#477)