Skip to main content

xmlHashCopier

Type Alias xmlHashCopier 

Source
pub type xmlHashCopier = Option<unsafe extern "C" fn(payload: *mut c_void, name: *const xmlChar) -> *mut c_void>;
Expand description

Callback to copy data from a hash.

@param payload the data in the hash @param name the name associated @returns a copy of the data or NULL in case of error.

Aliased Type§

pub enum xmlHashCopier {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *const u8) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *const u8) -> *mut c_void)

Some value of type T.