pub enum DomMutationEvent {
ChildNodeInserted {
parent_node_id: u32,
previous_node_id: u32,
node: Value,
},
ChildNodeRemoved {
parent_node_id: u32,
node_id: u32,
},
AttributeModified {
node_id: u32,
name: String,
value: String,
},
AttributeRemoved {
node_id: u32,
name: String,
},
CharacterDataModified {
node_id: u32,
character_data: String,
},
}Expand description
DOM mutation event type
Variants§
ChildNodeInserted
Child node inserted
ChildNodeRemoved
Child node removed
AttributeModified
Attribute modified
AttributeRemoved
Attribute removed
CharacterDataModified
Character data modified
Trait Implementations§
Source§impl Clone for DomMutationEvent
impl Clone for DomMutationEvent
Source§fn clone(&self) -> DomMutationEvent
fn clone(&self) -> DomMutationEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DomMutationEvent
impl RefUnwindSafe for DomMutationEvent
impl Send for DomMutationEvent
impl Sync for DomMutationEvent
impl Unpin for DomMutationEvent
impl UnwindSafe for DomMutationEvent
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