Struct r_core::sdb_gperf_t [−][src]
#[repr(C)]pub struct sdb_gperf_t {
pub name: *const c_char,
pub get: Option<unsafe extern "C" fn(k: *const c_char) -> *const c_char>,
pub hash: Option<unsafe extern "C" fn(k: *const c_char) -> *mut c_uint>,
pub foreach: Option<unsafe extern "C" fn(cb: GperfForeachCallback, user: *mut c_void) -> bool>,
}
Fields
name: *const c_char
get: Option<unsafe extern "C" fn(k: *const c_char) -> *const c_char>
hash: Option<unsafe extern "C" fn(k: *const c_char) -> *mut c_uint>
foreach: Option<unsafe extern "C" fn(cb: GperfForeachCallback, user: *mut c_void) -> bool>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for sdb_gperf_t
impl !Send for sdb_gperf_t
impl !Sync for sdb_gperf_t
impl Unpin for sdb_gperf_t
impl UnwindSafe for sdb_gperf_t
Blanket Implementations
Mutably borrows from an owned value. Read more