#[repr(C)]pub struct apr_xml_elem {
pub name: *const c_char,
pub ns: c_int,
pub lang: *const c_char,
pub first_cdata: apr_text_header,
pub following_cdata: apr_text_header,
pub parent: *mut apr_xml_elem,
pub next: *mut apr_xml_elem,
pub first_child: *mut apr_xml_elem,
pub attr: *mut apr_xml_attr,
pub last_child: *mut apr_xml_elem,
pub ns_scope: *mut apr_xml_ns_scope,
pub priv_: *mut c_void,
}Expand description
apr_xml_elem: holds a parsed XML element
Fields§
§name: *const c_charelement name
ns: c_intindex into namespace array
lang: *const c_charxml:lang for attrs/contents
first_cdata: apr_text_headercdata right after start tag
following_cdata: apr_text_headercdata after MY end tag
parent: *mut apr_xml_elemparent element
next: *mut apr_xml_elemnext (sibling) element
first_child: *mut apr_xml_elemfirst child element
attr: *mut apr_xml_attrfirst attribute
last_child: *mut apr_xml_elemlast child element
ns_scope: *mut apr_xml_ns_scopenamespaces scoped by this elem
priv_: *mut c_voidPlace for modules to store private data
Trait Implementations§
Source§impl Clone for apr_xml_elem
impl Clone for apr_xml_elem
Source§fn clone(&self) -> apr_xml_elem
fn clone(&self) -> apr_xml_elem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for apr_xml_elem
impl Debug for apr_xml_elem
impl Copy for apr_xml_elem
Auto Trait Implementations§
impl Freeze for apr_xml_elem
impl RefUnwindSafe for apr_xml_elem
impl !Send for apr_xml_elem
impl !Sync for apr_xml_elem
impl Unpin for apr_xml_elem
impl UnwindSafe for apr_xml_elem
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