Type Alias xmlXPathAxisFunc

Source
pub type xmlXPathAxisFunc = Option<unsafe extern "C" fn(ctxt: xmlXPathParserContextPtr, cur: xmlXPathObjectPtr) -> xmlXPathObjectPtr>;
Expand description

xmlXPathAxisFunc: @ctxt: the XPath interpreter context @cur: the previous node being explored on that axis

An axis traversal function. To traverse an axis, the engine calls the first time with cur == NULL and repeat until the function returns NULL indicating the end of the axis traversal.

Returns the next node in that axis or NULL if at the end of the axis.

Aliased Type§

enum xmlXPathAxisFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut _xmlXPathParserContext, _: *mut _xmlXPathObject) -> *mut _xmlXPathObject),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut _xmlXPathParserContext, _: *mut _xmlXPathObject) -> *mut _xmlXPathObject)

Some value of type T.