#[repr(C)]pub struct _xmlDoc {Show 24 fields
pub _private: *mut c_void,
pub type_: xmlElementType,
pub name: *mut c_char,
pub children: *mut _xmlNode,
pub last: *mut _xmlNode,
pub parent: *mut _xmlNode,
pub next: *mut _xmlNode,
pub prev: *mut _xmlNode,
pub doc: *mut _xmlDoc,
pub compression: c_int,
pub standalone: c_int,
pub intSubset: *mut _xmlDtd,
pub extSubset: *mut _xmlDtd,
pub oldNs: *mut _xmlNs,
pub version: *mut xmlChar,
pub encoding: *mut xmlChar,
pub ids: *mut c_void,
pub refs: *mut c_void,
pub URL: *mut xmlChar,
pub charset: c_int,
pub dict: *mut _xmlDict,
pub psvi: *mut c_void,
pub parseFlags: c_int,
pub properties: c_int,
}Expand description
An XML or HTML document.
Fields§
§_private: *mut c_voidapplication data
type_: xmlElementTypeXML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE
name: *mut c_charNULL
children: *mut _xmlNodefirst child
last: *mut _xmlNodelast child
parent: *mut _xmlNodeparent node
next: *mut _xmlNodenext sibling
prev: *mut _xmlNodeprevious sibling
doc: *mut _xmlDocreference to itself
compression: c_intlevel of zlib compression
standalone: c_intstandalone document (no external refs)
- 1 if standalone=“yes”,
- 0 if standalone=“no”,
- -1 if there is no XML declaration,
- -2 if there is an XML declaration, but no standalone attribute was specified
intSubset: *mut _xmlDtdinternal subset
extSubset: *mut _xmlDtdexternal subset
oldNs: *mut _xmlNsused to hold the XML namespace if needed
version: *mut xmlCharversion string from XML declaration
encoding: *mut xmlCharactual encoding if any
ids: *mut c_voidhash table for ID attributes if any
refs: *mut c_voidhash table for IDREFs attributes if any
URL: *mut xmlCharURI of the document
charset: c_intunused
dict: *mut _xmlDictdict used to allocate names if any
psvi: *mut c_voidfor type/PSVI information
parseFlags: c_intxmlParserOption enum used to parse the document
properties: c_intxmlDocProperties of the document
Trait Implementations§
Auto Trait Implementations§
impl !Send for _xmlDoc
impl !Sync for _xmlDoc
impl Freeze for _xmlDoc
impl RefUnwindSafe for _xmlDoc
impl Unpin for _xmlDoc
impl UnsafeUnpin for _xmlDoc
impl UnwindSafe for _xmlDoc
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