Struct mt_dom::patch::AppendChildren [−][src]
pub struct AppendChildren<'a, NS, TAG, ATT, VAL> where
NS: PartialEq + Clone + Debug,
TAG: PartialEq + Clone + Debug,
ATT: PartialEq + Clone + Debug,
VAL: PartialEq + Clone + Debug, { pub tag: &'a TAG, pub patch_path: TreePath, pub children: Vec<(usize, &'a Node<NS, TAG, ATT, VAL>)>, }
Expand description
A patch where we add children to the target node
Fields
tag: &'a TAG
the tag of the node we are appending the children into
patch_path: TreePath
index of the node we are going to append the children into
children: Vec<(usize, &'a Node<NS, TAG, ATT, VAL>)>
children nodes to be appended and their corresponding new_node_idx
Implementations
Trait Implementations
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
impl<'a, NS, TAG, ATT, VAL> RefUnwindSafe for AppendChildren<'a, NS, TAG, ATT, VAL> where
ATT: RefUnwindSafe,
NS: RefUnwindSafe,
TAG: RefUnwindSafe,
VAL: RefUnwindSafe,
impl<'a, NS, TAG, ATT, VAL> Send for AppendChildren<'a, NS, TAG, ATT, VAL> where
ATT: Sync,
NS: Sync,
TAG: Sync,
VAL: Sync,
impl<'a, NS, TAG, ATT, VAL> Sync for AppendChildren<'a, NS, TAG, ATT, VAL> where
ATT: Sync,
NS: Sync,
TAG: Sync,
VAL: Sync,
impl<'a, NS, TAG, ATT, VAL> Unpin for AppendChildren<'a, NS, TAG, ATT, VAL>
impl<'a, NS, TAG, ATT, VAL> UnwindSafe for AppendChildren<'a, NS, TAG, ATT, VAL> where
ATT: RefUnwindSafe,
NS: RefUnwindSafe,
TAG: RefUnwindSafe,
VAL: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more