pub struct MutationRecord {
pub type_: MutationType,
pub target_idx: usize,
pub added_nodes: Vec<usize>,
pub removed_nodes: Vec<usize>,
pub previous_sibling: Option<usize>,
pub next_sibling: Option<usize>,
pub attribute_name: Option<String>,
pub attribute_namespace: Option<String>,
pub old_value: Option<String>,
}Expand description
変更通知レコード
Fields§
§type_: MutationType§target_idx: usize§added_nodes: Vec<usize>§removed_nodes: Vec<usize>§previous_sibling: Option<usize>§next_sibling: Option<usize>§attribute_name: Option<String>§attribute_namespace: Option<String>§old_value: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for MutationRecord
impl Clone for MutationRecord
Source§fn clone(&self) -> MutationRecord
fn clone(&self) -> MutationRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MutationRecord
impl Debug for MutationRecord
impl Eq for MutationRecord
Source§impl PartialEq for MutationRecord
impl PartialEq for MutationRecord
impl StructuralPartialEq for MutationRecord
Auto Trait Implementations§
impl Freeze for MutationRecord
impl RefUnwindSafe for MutationRecord
impl Send for MutationRecord
impl Sync for MutationRecord
impl Unpin for MutationRecord
impl UnsafeUnpin for MutationRecord
impl UnwindSafe for MutationRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.