#[repr(C)]pub struct _xmlAttribute {Show 16 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 nexth: *mut _xmlAttribute,
pub atype: xmlAttributeType,
pub def: xmlAttributeDefault,
pub defaultValue: *mut xmlChar,
pub tree: *mut xmlEnumeration,
pub prefix: *const xmlChar,
pub elem: *const xmlChar,
}Expand description
An Attribute declaration in a DTD.
Should be treated as opaque. Accessing members directly is deprecated.
Fields§
§_private: *mut c_voidapplication data
type_: xmlElementTypeXML_ATTRIBUTE_DECL
name: *const xmlCharattribute name
children: *mut _xmlNodeNULL
last: *mut _xmlNodeNULL
parent: *mut _xmlDtdDTD
next: *mut _xmlNodenext sibling
prev: *mut _xmlNodeprevious sibling
doc: *mut _xmlDoccontaining document
nexth: *mut _xmlAttributenext in hash table
atype: xmlAttributeTypeattribute type
def: xmlAttributeDefaultattribute default
defaultValue: *mut xmlChardefault value
tree: *mut xmlEnumerationenumeration tree if any
prefix: *const xmlCharnamespace prefix if any
elem: *const xmlCharelement name
Trait Implementations§
Source§impl Clone for _xmlAttribute
impl Clone for _xmlAttribute
Source§fn clone(&self) -> _xmlAttribute
fn clone(&self) -> _xmlAttribute
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 _xmlAttribute
Auto Trait Implementations§
impl !Send for _xmlAttribute
impl !Sync for _xmlAttribute
impl Freeze for _xmlAttribute
impl RefUnwindSafe for _xmlAttribute
impl Unpin for _xmlAttribute
impl UnsafeUnpin for _xmlAttribute
impl UnwindSafe for _xmlAttribute
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