pub trait AttrMethods<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) -> ErrorResult;
fn GetOwnerElement(&self) -> Option<DomRoot<D::Element>>;
fn Specified(&self) -> bool;
}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) -> ErrorResult
fn GetOwnerElement(&self) -> Option<DomRoot<D::Element>>
fn Specified(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".