Struct dioxus_core::Mutations[][src]

pub struct Mutations<'a> {
    pub edits: Vec<DomEdit<'a>>,
    pub dirty_scopes: FxHashSet<ScopeId>,
    pub refs: Vec<NodeRefMutation<'a>>,
}
Expand description

Mutations

This method returns “mutations” - IE the necessary changes to get the RealDOM to match the VirtualDOM. It also includes a list of NodeRefs that need to be applied and effects that need to be triggered after the RealDOM has applied the edits.

Mutations are the only link between the RealDOM and the VirtualDOM.

Fields

edits: Vec<DomEdit<'a>>dirty_scopes: FxHashSet<ScopeId>refs: Vec<NodeRefMutation<'a>>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.