pub struct HostMutationReport {
pub applied: usize,
pub missed: usize,
pub restyled_elements: usize,
}Expand description
What one DocumentSession::apply_host_mutations batch actually did.
restyled_elements is the engine’s own count for the batch, so a host
receipt can say the mutation reached style rather than assuming it did.
Fields§
§applied: usizeMutations whose target resolved and whose operation was performed.
missed: usizeMutations whose target id did not resolve, or whose operation had
nothing to act on (a RemoveLastChild on a childless element).
restyled_elements: usizeElements whose cascade the engine recomputed for this batch.
Trait Implementations§
Source§impl Clone for HostMutationReport
impl Clone for HostMutationReport
impl Copy for HostMutationReport
Source§impl Debug for HostMutationReport
impl Debug for HostMutationReport
Source§impl Default for HostMutationReport
impl Default for HostMutationReport
impl Eq for HostMutationReport
Source§impl PartialEq for HostMutationReport
impl PartialEq for HostMutationReport
impl StructuralPartialEq for HostMutationReport
Auto Trait Implementations§
impl Freeze for HostMutationReport
impl RefUnwindSafe for HostMutationReport
impl Send for HostMutationReport
impl Sync for HostMutationReport
impl Unpin for HostMutationReport
impl UnsafeUnpin for HostMutationReport
impl UnwindSafe for HostMutationReport
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