[][src]Struct mt_dom::patch::RemoveNode

pub struct RemoveNode<'a, TAG> {
    pub tag: Option<&'a TAG>,
    pub node_idx: NodeIdx,
}

remove the node at this NodeIdx

Fields

tag: Option<&'a TAG>

the tag of the node that is to be removed

node_idx: NodeIdx

the node_idx of the node to be removed

Implementations

impl<'a, TAG> RemoveNode<'a, TAG>[src]

pub fn new(tag: Option<&'a TAG>, node_idx: NodeIdx) -> Self[src]

create a new RemoveNode patch

Trait Implementations

impl<'a, TAG: Debug> Debug for RemoveNode<'a, TAG>[src]

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

impl<'a, TAG: PartialEq> PartialEq<RemoveNode<'a, TAG>> for RemoveNode<'a, TAG>[src]

impl<'a, TAG> StructuralPartialEq for RemoveNode<'a, TAG>[src]

Auto Trait Implementations

impl<'a, TAG> RefUnwindSafe for RemoveNode<'a, TAG> where
    TAG: RefUnwindSafe

impl<'a, TAG> Send for RemoveNode<'a, TAG> where
    TAG: Sync

impl<'a, TAG> Sync for RemoveNode<'a, TAG> where
    TAG: Sync

impl<'a, TAG> Unpin for RemoveNode<'a, TAG>

impl<'a, TAG> UnwindSafe for RemoveNode<'a, TAG> where
    TAG: RefUnwindSafe

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.