Type Alias xmlListDataCompare

Source
pub type xmlListDataCompare = Option<unsafe extern "C" fn(data0: *const c_void, data1: *const c_void) -> c_int>;
Expand description

xmlListDataCompare: @data0: the first data @data1: the second data

Callback function used to compare 2 data.

Returns 0 is equality, -1 or 1 otherwise depending on the ordering.

Aliased Type§

enum xmlListDataCompare {
    None,
    Some(unsafe extern "C" fn(_: *const c_void, _: *const c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const c_void, _: *const c_void) -> i32)

Some value of type T.