Struct swc_xml_ast::Element
source · pub struct Element {
pub span: Span,
pub tag_name: JsWord,
pub attributes: Vec<Attribute>,
pub children: Vec<Child>,
}
Fields§
§span: Span
§tag_name: JsWord
§attributes: Vec<Attribute>
§children: Vec<Child>
Trait Implementations§
source§impl EqIgnoreSpan for Element
impl EqIgnoreSpan for Element
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl PartialEq for Element
impl PartialEq for Element
impl Eq for Element
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
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