Struct mt_dom::patch::AppendChildren [−][src]
pub struct AppendChildren<'a, NS, TAG, ATT, VAL, EVENT> where
NS: PartialEq + Clone + Debug,
TAG: PartialEq + Clone + Debug,
ATT: PartialEq + Clone + Debug,
VAL: PartialEq + Clone + Debug,
EVENT: PartialEq + Clone + Debug, { pub tag: &'a TAG, pub node_idx: NodeIdx, pub children: Vec<(NodeIdx, &'a Node<NS, TAG, ATT, VAL, EVENT>)>, }
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>)>
children nodes to be appended and their corresponding new_node_idx
Implementations
Trait Implementations
Performs the conversion.
impl<'a, NS: PartialEq, TAG: PartialEq, ATT: PartialEq, VAL: PartialEq, EVENT: PartialEq> PartialEq<AppendChildren<'a, NS, TAG, ATT, VAL, EVENT>> for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT> where
NS: PartialEq + Clone + Debug,
TAG: PartialEq + Clone + Debug,
ATT: PartialEq + Clone + Debug,
VAL: PartialEq + Clone + Debug,
EVENT: PartialEq + Clone + Debug,
impl<'a, NS: PartialEq, TAG: PartialEq, ATT: PartialEq, VAL: PartialEq, EVENT: PartialEq> PartialEq<AppendChildren<'a, NS, TAG, ATT, VAL, EVENT>> for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT> where
NS: PartialEq + Clone + Debug,
TAG: PartialEq + Clone + Debug,
ATT: PartialEq + Clone + Debug,
VAL: PartialEq + Clone + Debug,
EVENT: PartialEq + Clone + Debug,
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, EVENT> RefUnwindSafe for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT> where
ATT: RefUnwindSafe,
EVENT: RefUnwindSafe,
NS: RefUnwindSafe,
TAG: RefUnwindSafe,
VAL: RefUnwindSafe,
impl<'a, NS, TAG, ATT, VAL, EVENT> Send for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT> where
ATT: Sync,
EVENT: Sync,
NS: Sync,
TAG: Sync,
VAL: Sync,
impl<'a, NS, TAG, ATT, VAL, EVENT> Sync for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT> where
ATT: Sync,
EVENT: Sync,
NS: Sync,
TAG: Sync,
VAL: Sync,
impl<'a, NS, TAG, ATT, VAL, EVENT> Unpin for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT>
impl<'a, NS, TAG, ATT, VAL, EVENT> UnwindSafe for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT> where
ATT: RefUnwindSafe,
EVENT: RefUnwindSafe,
NS: RefUnwindSafe,
TAG: RefUnwindSafe,
VAL: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more