pub struct MutationSink {
pub queue: Vec<DomMutationRecord>,
pub listeners: Vec<MutationListener>,
pub sender: Option<Sender<DomMutationRecord>>,
pub mutated: bool,
}Expand description
Notification sink shared across DOM nodes and the containing Document.
Fields§
§queue: Vec<DomMutationRecord>§listeners: Vec<MutationListener>§sender: Option<Sender<DomMutationRecord>>§mutated: boolImplementations§
Source§impl MutationSink
impl MutationSink
pub fn new() -> Self
pub fn emit(&mut self, record: DomMutationRecord)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MutationSink
impl !Send for MutationSink
impl !Sync for MutationSink
impl !UnwindSafe for MutationSink
impl Forget for MutationSink
impl Freeze for MutationSink
impl Move for MutationSink
impl Unpin for MutationSink
impl UnsafeUnpin for MutationSink
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