cxx 1.0.194

Safe interop between Rust and C++
Documentation
1
2
3
4
5
6
use core::hash::{BuildHasher as _, Hash};

#[doc(hidden)]
pub fn hash<V: Hash>(value: &V) -> usize {
    foldhash::quality::FixedState::default().hash_one(value) as usize
}