pub struct Element {
pub name: Atom<LocalNameStaticSet>,
pub namespace: Atom<NamespaceStaticSet>,
pub prefix: Option<Atom<PrefixStaticSet>>,
pub attrs: Vec<Attribute, Global>,
pub kind: ElementKind,
}Expand description
Represents an HTML element in the DOM tree
Fields§
§name: Atom<LocalNameStaticSet>§namespace: Atom<NamespaceStaticSet>§prefix: Option<Atom<PrefixStaticSet>>§attrs: Vec<Attribute, Global>§kind: ElementKindTrait Implementations§
Auto Trait Implementations§
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