pub struct ElementNode {
pub name: String,
pub attributes: Vec<AttributeLike>,
pub children: Vec<Node>,
pub self_closing: bool,
pub span: Option<SourceSpan>,
}Fields§
§name: String§attributes: Vec<AttributeLike>§children: Vec<Node>§self_closing: bool§span: Option<SourceSpan>Trait Implementations§
Source§impl Clone for ElementNode
impl Clone for ElementNode
Source§fn clone(&self) -> ElementNode
fn clone(&self) -> ElementNode
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 ElementNode
impl Debug for ElementNode
Source§impl PartialEq for ElementNode
impl PartialEq for ElementNode
impl Eq for ElementNode
impl StructuralPartialEq for ElementNode
Auto Trait Implementations§
impl Freeze for ElementNode
impl RefUnwindSafe for ElementNode
impl Send for ElementNode
impl Sync for ElementNode
impl Unpin for ElementNode
impl UnsafeUnpin for ElementNode
impl UnwindSafe for ElementNode
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