pub struct Element<'a> {
pub name: Text<'a>,
pub attributes: HashMap<Text<'a>, Text<'a>>,
pub children: Vec<Node<'a>>,
}Fields§
§name: Text<'a>§attributes: HashMap<Text<'a>, Text<'a>>§children: Vec<Node<'a>>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Element<'a>
impl<'a> RefUnwindSafe for Element<'a>
impl<'a> Send for Element<'a>
impl<'a> Sync for Element<'a>
impl<'a> Unpin for Element<'a>
impl<'a> UnwindSafe for Element<'a>
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