Type Alias attributeSAXFunc

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

attributeSAXFunc: @ctx: the user data (XML parser context) @name: The attribute name, including namespace prefix @value: The attribute value

Handle an attribute that has been read by the parser. The default handling is to convert the attribute into an DOM subtree and past it in a new xmlAttr element added to the element.

Aliased Type§

enum attributeSAXFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: *const u8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: *const u8))

Some value of type T.