#[repr(C)]pub struct _xmlElement {Show 14 fields
pub _private: *mut c_void,
pub type_: c_int,
pub name: *const xmlChar,
pub children: *mut _xmlNode,
pub last: *mut _xmlNode,
pub parent: *mut _xmlDtd,
pub next: *mut _xmlNode,
pub prev: *mut _xmlNode,
pub doc: *mut _xmlDoc,
pub etype: c_int,
pub content: *mut _xmlElementContent,
pub attributes: *mut _xmlAttribute,
pub prefix: *const xmlChar,
pub cont_model: *mut c_void,
}Expand description
Element declaration from DTD.
§ABI
Layout mirrors upstream struct _xmlElement (libxml2 2.15.x tree.h): the
declaration is node-shaped (children/last/parent/next/prev/doc) even though
it is stored in the DTD’s element hash table. cont_model is the compiled
content-model regexp built by xmlValidBuildContentModel and is opaque
here (xmlRegexp * upstream).
Fields§
§_private: *mut c_void§type_: c_int§name: *const xmlChar§children: *mut _xmlNode§last: *mut _xmlNode§parent: *mut _xmlDtd§next: *mut _xmlNode§prev: *mut _xmlNode§doc: *mut _xmlDoc§etype: c_int§content: *mut _xmlElementContent§attributes: *mut _xmlAttribute§prefix: *const xmlChar§cont_model: *mut c_voidAuto Trait Implementations§
impl !Send for _xmlElement
impl !Sync for _xmlElement
impl Freeze for _xmlElement
impl RefUnwindSafe for _xmlElement
impl Unpin for _xmlElement
impl UnsafeUnpin for _xmlElement
impl UnwindSafe for _xmlElement
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