Skip to main content

_xsltTransformContext

Struct _xsltTransformContext 

Source
#[repr(C)]
pub struct _xsltTransformContext {
Show 74 fields pub style: *mut _xsltStylesheet, pub type_: c_int, pub templ: *mut _xsltTemplate, pub templNr: c_int, pub templMax: c_int, pub templTab: *mut *mut _xsltTemplate, pub vars: *mut _xsltStackElem, pub varsNr: c_int, pub varsMax: c_int, pub varsTab: *mut *mut _xsltStackElem, pub varsBase: c_int, pub extFunctions: *mut c_void, pub extElements: *mut c_void, pub extInfos: *mut c_void, pub mode: *const xmlChar, pub modeURI: *const xmlChar, pub docList: *mut _xsltDocument, pub document: *mut _xsltDocument, pub node: *mut _xmlNode, pub nodeList: *mut _xmlNodeSet, pub output: *mut _xmlDoc, pub insert: *mut _xmlNode, pub xpathCtxt: *mut _xmlXPathContext, pub state: c_int, pub globalVars: *mut c_void, pub inst: *mut _xmlNode, pub xinclude: c_int, pub outputFile: *const c_char, pub profile: c_int, pub prof: c_long, pub profNr: c_int, pub profMax: c_int, pub profTab: *mut c_long, pub _private: *mut c_void, pub extrasNr: c_int, pub extrasMax: c_int, pub extras: *mut c_void, pub styleList: *mut _xsltDocument, pub sec: *mut c_void, pub error: Option<xmlGenericErrorFunc>, pub errctx: *mut c_void, pub sortfunc: *mut c_void, pub tmpRVT: *mut _xmlDoc, pub persistRVT: *mut _xmlDoc, pub ctxtflags: c_int, pub lasttext: *const xmlChar, pub lasttsize: c_int, pub lasttuse: c_int, pub debugStatus: c_int, pub traceCode: *mut c_ulong, pub parserOptions: c_int, pub dict: *mut c_void, pub tmpDoc: *mut _xmlDoc, pub internalized: c_int, pub nbKeys: c_int, pub hasTemplKeyPatterns: c_int, pub currentTemplateRule: *mut _xsltTemplate, pub initialContextNode: *mut _xmlNode, pub initialContextDoc: *mut _xmlDoc, pub cache: *mut c_void, pub contextVariable: *mut c_void, pub localRVT: *mut _xmlDoc, pub localRVTBase: *mut _xmlDoc, pub keyInitLevel: c_int, pub depth: c_int, pub maxTemplateDepth: c_int, pub maxTemplateVars: c_int, pub opLimit: c_ulong, pub opCount: c_ulong, pub sourceDocDirty: c_int, pub currentId: c_ulong, pub newLocale: *mut c_void, pub freeLocale: *mut c_void, pub genSortKey: *mut c_void,
}
Expand description

XSLT transform context — runtime state during a transformation.

§ABI

Layout mirrors upstream struct _xsltTransformContext (libxslt 1.1.42 xsltInternals.h). The runtime keeps the XPath value stack on xpathCtxt->value* (upstream behaviour); there is no separate return stack in the context.

Fields§

§style: *mut _xsltStylesheet§type_: c_int§templ: *mut _xsltTemplate§templNr: c_int§templMax: c_int§templTab: *mut *mut _xsltTemplate§vars: *mut _xsltStackElem§varsNr: c_int§varsMax: c_int§varsTab: *mut *mut _xsltStackElem§varsBase: c_int§extFunctions: *mut c_void§extElements: *mut c_void§extInfos: *mut c_void§mode: *const xmlChar§modeURI: *const xmlChar§docList: *mut _xsltDocument§document: *mut _xsltDocument§node: *mut _xmlNode§nodeList: *mut _xmlNodeSet§output: *mut _xmlDoc§insert: *mut _xmlNode§xpathCtxt: *mut _xmlXPathContext§state: c_int§globalVars: *mut c_void§inst: *mut _xmlNode§xinclude: c_int§outputFile: *const c_char§profile: c_int§prof: c_long§profNr: c_int§profMax: c_int§profTab: *mut c_long§_private: *mut c_void§extrasNr: c_int§extrasMax: c_int§extras: *mut c_void§styleList: *mut _xsltDocument§sec: *mut c_void§error: Option<xmlGenericErrorFunc>§errctx: *mut c_void§sortfunc: *mut c_void§tmpRVT: *mut _xmlDoc§persistRVT: *mut _xmlDoc§ctxtflags: c_int§lasttext: *const xmlChar§lasttsize: c_int§lasttuse: c_int§debugStatus: c_int§traceCode: *mut c_ulong§parserOptions: c_int§dict: *mut c_void§tmpDoc: *mut _xmlDoc§internalized: c_int§nbKeys: c_int§hasTemplKeyPatterns: c_int§currentTemplateRule: *mut _xsltTemplate§initialContextNode: *mut _xmlNode§initialContextDoc: *mut _xmlDoc§cache: *mut c_void§contextVariable: *mut c_void§localRVT: *mut _xmlDoc§localRVTBase: *mut _xmlDoc§keyInitLevel: c_int§depth: c_int§maxTemplateDepth: c_int§maxTemplateVars: c_int§opLimit: c_ulong§opCount: c_ulong§sourceDocDirty: c_int§currentId: c_ulong§newLocale: *mut c_void§freeLocale: *mut c_void§genSortKey: *mut c_void

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 = !

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.