Struct mt_dom::patch::AppendChildren[][src]

pub struct AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG> {
    pub tag: &'a TAG,
    pub node_idx: NodeIdx,
    pub children: Vec<(NodeIdx, &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>)>,
}
Expand description

Append a vector of child nodes to a parent node id.

Fields

tag: &'a TAG

the tag of the node we are appending the children into

node_idx: NodeIdx

index of the node we are going to append the children into

children: Vec<(NodeIdx, &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>)>

children nodes to be appended and their corresponding new_node_idx

Implementations

create a new AppendChildren patch

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.