pub struct Element {
pub name: LocalName,
pub namespace: Namespace,
pub prefix: Option<Prefix>,
pub attrs: Vec<Attribute>,
pub kind: ElementKind,
}
Expand description
Represents an HTML element in the DOM tree
Fields§
§name: LocalName
§namespace: Namespace
§prefix: Option<Prefix>
§attrs: Vec<Attribute>
§kind: ElementKind
Trait Implementations§
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