pub struct Attribute {
pub name: Atom<LocalNameStaticSet>,
pub namespace: Atom<NamespaceStaticSet>,
pub prefix: Option<Atom<PrefixStaticSet>>,
pub value: Tendril<UTF8, NonAtomic>,
}
Expand description
Represents an HTML attribute in the DOM tree
Fields§
§name: Atom<LocalNameStaticSet>
§namespace: Atom<NamespaceStaticSet>
§prefix: Option<Atom<PrefixStaticSet>>
§value: Tendril<UTF8, NonAtomic>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Attribute
impl !Send for Attribute
impl !Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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