pub trait MutationRecordMethods<D: DomTypes> {
// Required methods
fn Type(&self) -> DOMString;
fn Target(&self) -> DomRoot<D::Node>;
fn AddedNodes(&self, cx: &mut JSContext) -> DomRoot<D::NodeList>;
fn RemovedNodes(&self, cx: &mut JSContext) -> DomRoot<D::NodeList>;
fn GetPreviousSibling(&self) -> Option<DomRoot<D::Node>>;
fn GetNextSibling(&self) -> Option<DomRoot<D::Node>>;
fn GetAttributeName(&self) -> Option<DOMString>;
fn GetAttributeNamespace(&self) -> Option<DOMString>;
fn GetOldValue(&self) -> Option<DOMString>;
}Required Methods§
fn Type(&self) -> DOMString
fn Target(&self) -> DomRoot<D::Node>
fn AddedNodes(&self, cx: &mut JSContext) -> DomRoot<D::NodeList>
fn RemovedNodes(&self, cx: &mut JSContext) -> DomRoot<D::NodeList>
fn GetPreviousSibling(&self) -> Option<DomRoot<D::Node>>
fn GetNextSibling(&self) -> Option<DomRoot<D::Node>>
fn GetAttributeName(&self) -> Option<DOMString>
fn GetAttributeNamespace(&self) -> Option<DOMString>
fn GetOldValue(&self) -> Option<DOMString>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".