#[repr(C)]pub struct XmlCatalogHandle {
pub entries: Vec<CatalogEntry>,
pub children: Vec<CatalogEntry>,
pub sgml: c_int,
}Expand description
Candidate-internal per-handle catalog (xmlCatalogPtr, opaque upstream).
§UPSTREAM-PARITY
Upstream keeps two levels per handle: catal->xml->children — the entry
list consulted by xmlCatalogIsEmpty and populated only by
xmlACatalogAdd — and the loaded document structure consulted by
xmlACatalogResolve*. Observable consequence (verified against the system
DSO): a freshly xmlLoadACatalog-ed handle reports xmlCatalogIsEmpty()==1
even when it resolves entries, flipping to 0 only after an API add. The
candidate mirrors this with children (isEmpty source) and entries
(resolve source).
Fields§
§entries: Vec<CatalogEntry>§children: Vec<CatalogEntry>§sgml: c_intAuto Trait Implementations§
impl Freeze for XmlCatalogHandle
impl RefUnwindSafe for XmlCatalogHandle
impl Send for XmlCatalogHandle
impl Sync for XmlCatalogHandle
impl Unpin for XmlCatalogHandle
impl UnsafeUnpin for XmlCatalogHandle
impl UnwindSafe for XmlCatalogHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more