Trait bones_schema::raw_fns::RawHash
source · pub trait RawHash {
// Required method
unsafe fn raw_hash(ptr: *const c_void) -> u64;
// Provided method
fn raw_hash_cb( ) -> Unsafe<&'static (dyn Fn(*const c_void) -> u64 + Sync + Send + 'static)> { ... }
}
Expand description
Required Methods§
Provided Methods§
sourcefn raw_hash_cb() -> Unsafe<&'static (dyn Fn(*const c_void) -> u64 + Sync + Send + 'static)>
fn raw_hash_cb() -> Unsafe<&'static (dyn Fn(*const c_void) -> u64 + Sync + Send + 'static)>
Get a callback suitable for SchemaData
.
Object Safety§
This trait is not object safe.