pub struct XmlElement {
pub name: String,
pub attributes: Vec<XmlAttribute>,
}Expand description
A simple XML start element.
Fields§
§name: String§attributes: Vec<XmlAttribute>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 moreSource§impl Debug for XmlElement
impl Debug for XmlElement
Source§impl PartialEq for XmlElement
impl PartialEq for XmlElement
Source§fn eq(&self, other: &XmlElement) -> bool
fn eq(&self, other: &XmlElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for XmlElement
impl StructuralPartialEq for XmlElement
Auto Trait Implementations§
impl Freeze for XmlElement
impl RefUnwindSafe for XmlElement
impl Send for XmlElement
impl Sync 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