pub type lv_cache_ops_t = _lv_cache_ops_t;Expand description
The cache operations struct
Aliased Type§
#[repr(C)]pub struct lv_cache_ops_t {
pub compare_cb: Option<unsafe extern "C" fn(*const c_void, *const c_void) -> i8>,
pub create_cb: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> bool>,
pub free_cb: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>,
}Fields§
§compare_cb: Option<unsafe extern "C" fn(*const c_void, *const c_void) -> i8>< Compare function for keys
create_cb: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> bool>< Create function for nodes
free_cb: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>< Free function for nodes