pub enum DomMutationType {
ChildAppended {
parent_uid: u64,
child_uid: u64,
},
ChildPrepended {
parent_uid: u64,
child_uid: u64,
},
ChildInserted {
parent_uid: u64,
child_uid: u64,
before_uid: Option<u64>,
},
ChildRemoved {
parent_uid: u64,
child_uid: u64,
},
ChildReplaced {
parent_uid: u64,
new_child_uid: u64,
old_child_uid: u64,
},
AttributeSet {
node_uid: u64,
name: String,
value: String,
},
AttributeRemoved {
node_uid: u64,
name: String,
},
TextContentChanged {
node_uid: u64,
new_text: String,
},
InnerHtmlChanged {
node_uid: u64,
html: String,
},
StyleChanged {
node_uid: u64,
property: String,
value: String,
},
}Expand description
Types of live client-side DOM mutations emitted during script evaluation or native DOM manipulation.
Variants§
ChildAppended
ChildPrepended
ChildInserted
ChildRemoved
ChildReplaced
AttributeSet
AttributeRemoved
TextContentChanged
InnerHtmlChanged
StyleChanged
Trait Implementations§
Source§impl Clone for DomMutationType
impl Clone for DomMutationType
Source§impl Debug for DomMutationType
impl Debug for DomMutationType
Source§impl PartialEq for DomMutationType
impl PartialEq for DomMutationType
impl StructuralPartialEq for DomMutationType
Auto Trait Implementations§
impl Forget for DomMutationType
impl Freeze for DomMutationType
impl Move for DomMutationType
impl RefUnwindSafe for DomMutationType
impl Send for DomMutationType
impl Sync for DomMutationType
impl Unpin for DomMutationType
impl UnsafeUnpin for DomMutationType
impl UnwindSafe for DomMutationType
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