Skip to main content

_xmlXPathContext

Struct _xmlXPathContext 

Source
#[repr(C)]
pub struct _xmlXPathContext {
Show 42 fields pub doc: *mut _xmlDoc, pub node: *mut _xmlNode, pub nb_variables_unused: c_int, pub max_variables_unused: c_int, pub varHash: *mut c_void, pub nb_types: c_int, pub max_types: c_int, pub types: *mut c_void, pub nb_funcs_unused: c_int, pub max_funcs_unused: c_int, pub funcHash: *mut c_void, pub nb_axis: c_int, pub max_axis: c_int, pub axis: *mut c_void, pub namespaces: *mut *mut _xmlNs, pub nsNr: c_int, pub user: *mut c_void, pub contextSize: c_int, pub proximityPosition: c_int, pub xptr: c_int, pub here: *mut _xmlNode, pub origin: *mut _xmlNode, pub nsHash: *mut c_void, pub varLookupFunc: Option<xmlXPathVariableLookupFunc>, pub varLookupData: *mut c_void, pub extra: *mut c_void, pub function: *const xmlChar, pub functionURI: *const xmlChar, pub funcLookupFunc: Option<xmlXPathFuncLookupFunc>, pub funcLookupData: *mut c_void, pub tmpNsList: *mut *mut _xmlNs, pub tmpNsNr: c_int, pub userData: *mut c_void, pub error: Option<xmlStructuredErrorFunc>, pub lastError: _xmlError, pub debugNode: *mut _xmlNode, pub dict: *mut c_void, pub flags: c_int, pub cache: *mut c_void, pub opLimit: c_ulong, pub opCount: c_ulong, pub depth: c_int,
}
Expand description

XPath evaluation context.

Fields§

§doc: *mut _xmlDoc§node: *mut _xmlNode§nb_variables_unused: c_int§max_variables_unused: c_int§varHash: *mut c_void§nb_types: c_int§max_types: c_int§types: *mut c_void§nb_funcs_unused: c_int§max_funcs_unused: c_int§funcHash: *mut c_void§nb_axis: c_int§max_axis: c_int§axis: *mut c_void§namespaces: *mut *mut _xmlNs§nsNr: c_int§user: *mut c_void§contextSize: c_int§proximityPosition: c_int§xptr: c_int§here: *mut _xmlNode§origin: *mut _xmlNode§nsHash: *mut c_void§varLookupFunc: Option<xmlXPathVariableLookupFunc>§varLookupData: *mut c_void§extra: *mut c_void§function: *const xmlChar§functionURI: *const xmlChar§funcLookupFunc: Option<xmlXPathFuncLookupFunc>§funcLookupData: *mut c_void§tmpNsList: *mut *mut _xmlNs§tmpNsNr: c_int§userData: *mut c_void§error: Option<xmlStructuredErrorFunc>§lastError: _xmlError§debugNode: *mut _xmlNode§dict: *mut c_void§flags: c_int§cache: *mut c_void§opLimit: c_ulong§opCount: c_ulong§depth: c_int

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.