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

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>)>,
}

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

impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>[src]

pub fn new(
    tag: &'a TAG,
    node_idx: NodeIdx,
    children: Vec<(NodeIdx, &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>)>
) -> Self
[src]

create a new AppendChildren patch

Trait Implementations

impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> Debug for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG> where
    NS: Debug,
    TAG: Debug,
    ATT: Debug,
    VAL: Debug
[src]

impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> From<AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>> for Patch<'a, NS, TAG, ATT, VAL, EVENT, MSG>[src]

impl<'a, NS: PartialEq, TAG: PartialEq, ATT: PartialEq, VAL: PartialEq, EVENT: PartialEq, MSG: PartialEq> PartialEq<AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>> for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>[src]

impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> StructuralPartialEq for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>[src]

Auto Trait Implementations

impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !RefUnwindSafe for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>

impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !Send for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>

impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !Sync for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>

impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> Unpin for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>

impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !UnwindSafe for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.