readstat_value_label_handler

Type Alias readstat_value_label_handler 

Source
pub type readstat_value_label_handler = Option<unsafe extern "C" fn(val_labels: *const c_char, value: readstat_value_t, label: *const c_char, ctx: *mut c_void) -> c_int>;

Aliased Type§

pub enum readstat_value_label_handler {
    None,
    Some(unsafe extern "C" fn(*const i8, readstat_value_s, *const i8, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, readstat_value_s, *const i8, *mut c_void) -> i32)

Some value of type T.