#[repr(C)]pub struct _xmlElementContent {
pub type_: xmlElementContentType,
pub ocur: xmlElementContentOccur,
pub name: *const xmlChar,
pub c1: *mut _xmlElementContent,
pub c2: *mut _xmlElementContent,
pub parent: *mut _xmlElementContent,
pub prefix: *const xmlChar,
}Expand description
An XML Element content as stored after parsing an element definition in a DTD.
Should be treated as opaque. Accessing members directly is deprecated.
Fields§
§type_: xmlElementContentTypePCDATA, ELEMENT, SEQ or OR
ocur: xmlElementContentOccurONCE, OPT, MULT or PLUS
name: *const xmlCharelement name
c1: *mut _xmlElementContentfirst child
c2: *mut _xmlElementContentsecond child
parent: *mut _xmlElementContentparent
prefix: *const xmlCharnamespace prefix
Trait Implementations§
Source§impl Clone for _xmlElementContent
impl Clone for _xmlElementContent
Source§fn clone(&self) -> _xmlElementContent
fn clone(&self) -> _xmlElementContent
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 _xmlElementContent
Auto Trait Implementations§
impl !Send for _xmlElementContent
impl !Sync for _xmlElementContent
impl Freeze for _xmlElementContent
impl RefUnwindSafe for _xmlElementContent
impl Unpin for _xmlElementContent
impl UnsafeUnpin for _xmlElementContent
impl UnwindSafe for _xmlElementContent
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