pub struct HtmlElement {
pub name: String,
pub attributes: Vec<HtmlAttribute>,
}Expand description
A lightweight HTML element view.
Fields§
§name: String§attributes: Vec<HtmlAttribute>Trait Implementations§
Source§impl Clone for HtmlElement
impl Clone for HtmlElement
Source§fn clone(&self) -> HtmlElement
fn clone(&self) -> HtmlElement
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 HtmlElement
impl Debug for HtmlElement
Source§impl PartialEq for HtmlElement
impl PartialEq for HtmlElement
Source§fn eq(&self, other: &HtmlElement) -> bool
fn eq(&self, other: &HtmlElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HtmlElement
impl StructuralPartialEq for HtmlElement
Auto Trait Implementations§
impl Freeze for HtmlElement
impl RefUnwindSafe for HtmlElement
impl Send for HtmlElement
impl Sync for HtmlElement
impl Unpin for HtmlElement
impl UnsafeUnpin for HtmlElement
impl UnwindSafe for HtmlElement
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