#[repr(C)]pub struct _xmlElement {Show 14 fields
pub _private: *mut c_void,
pub type_: xmlElementType,
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: xmlElementTypeVal,
pub content: *mut xmlElementContent,
pub attributes: *mut xmlAttribute,
pub prefix: *const xmlChar,
pub contModel: *mut xmlRegexp,
}Expand description
An XML Element declaration from a DTD.
Should be treated as opaque. Accessing members directly is deprecated.
Fields§
§_private: *mut c_voidapplication data
type_: xmlElementTypeXML_ELEMENT_DECL
name: *const xmlCharelement name
children: *mut _xmlNodeNULL
last: *mut _xmlNodeNULL
parent: *mut _xmlDtd-> DTD
next: *mut _xmlNodenext sibling
prev: *mut _xmlNodeprevious sibling
doc: *mut _xmlDoccontaining document
etype: xmlElementTypeValelement type
content: *mut xmlElementContentallowed element content
attributes: *mut xmlAttributelist of declared attributes
prefix: *const xmlCharnamespace prefix if any
contModel: *mut xmlRegexpvalidating regexp
Trait Implementations§
Source§impl Clone for _xmlElement
impl Clone for _xmlElement
Source§fn clone(&self) -> _xmlElement
fn clone(&self) -> _xmlElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _xmlElement
Auto 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