pub struct TraceMutationKind;Expand description
Record kinds inside a mutation batch.
Implementations§
Source§impl TraceMutationKind
impl TraceMutationKind
Sourcepub const ATTRIBUTES: &'static str = "attributes"
pub const ATTRIBUTES: &'static str = "attributes"
An attribute was set, changed or removed.
Sourcepub const CHARACTER_DATA: &'static str = "characterData"
pub const CHARACTER_DATA: &'static str = "characterData"
Text inside a node changed.
Sourcepub const CHILD_LIST: &'static str = "childList"
pub const CHILD_LIST: &'static str = "childList"
Children were added, moved or removed.
Sourcepub const LIVE_STATE: &'static str = "live-state"
pub const LIVE_STATE: &'static str = "live-state"
A change to what an element holds rather than to the document.
Typing into an input, checking a box, choosing an option, moving focus and scrolling all change what the user sees and none of them mutate the DOM, so no observer reports them and replay skipped them (issue #93).
Auto Trait Implementations§
impl Freeze for TraceMutationKind
impl RefUnwindSafe for TraceMutationKind
impl Send for TraceMutationKind
impl Sync for TraceMutationKind
impl Unpin for TraceMutationKind
impl UnsafeUnpin for TraceMutationKind
impl UnwindSafe for TraceMutationKind
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