Enum script::dom::mutationobserver::Mutation
source · pub enum Mutation<'a> {
Attribute {
name: LocalName,
namespace: Namespace,
old_value: Option<DOMString>,
},
CharacterData {
old_value: DOMString,
},
ChildList {
added: Option<&'a [&'a Node]>,
removed: Option<&'a [&'a Node]>,
prev: Option<&'a Node>,
next: Option<&'a Node>,
},
}
Variants
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Mutation<'a>
impl<'a> !Send for Mutation<'a>
impl<'a> !Sync for Mutation<'a>
impl<'a> Unpin for Mutation<'a>
impl<'a> !UnwindSafe for Mutation<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
sourcefn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
sourceimpl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
sourcefn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert