Struct syn_rsx::NodeElement
source · pub struct NodeElement {
pub name: NodeName,
pub attributes: Vec<Node>,
pub children: Vec<Node>,
}
Expand description
Element node.
A HTMLElement tag, with optional children and attributes. Potentially selfclosing. Any tag name is valid.
Fields§
§name: NodeName
Name of the element.
attributes: Vec<Node>
Attributes of the element node.
children: Vec<Node>
Children of the element node.
Trait Implementations§
source§impl Debug for NodeElement
impl Debug for NodeElement
Auto Trait Implementations§
impl RefUnwindSafe for NodeElement
impl !Send for NodeElement
impl !Sync for NodeElement
impl Unpin for NodeElement
impl UnwindSafe for NodeElement
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