pub struct MutRec {
pub type_: &'static str,
pub target_idx: usize,
pub added: Vec<usize>,
pub removed: Vec<usize>,
pub attribute_name: Option<String>,
pub old_value: Option<String>,
}Expand description
MutationObserver に届けるレコード(Rust 側内部表現)。
Fields§
§type_: &'static str§target_idx: usize§added: Vec<usize>§removed: Vec<usize>§attribute_name: Option<String>§old_value: Option<String>attributeOldValue: true が指定された観察者向けにのみ Some を積む。
Auto Trait Implementations§
impl Freeze for MutRec
impl RefUnwindSafe for MutRec
impl Send for MutRec
impl Sync for MutRec
impl Unpin for MutRec
impl UnsafeUnpin for MutRec
impl UnwindSafe for MutRec
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