pub(crate) trait AttrMethods<D>where
D: DomTypes,{
// Required methods
fn GetNamespaceURI(&self) -> Option<DOMString>;
fn GetPrefix(&self) -> Option<DOMString>;
fn LocalName(&self) -> DOMString;
fn Name(&self) -> DOMString;
fn Value(&self) -> DOMString;
fn SetValue(
&self,
cx: &mut JSContext,
value: DOMString,
) -> Result<(), Error>;
fn GetOwnerElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn Specified(&self) -> bool;
}