[−][src]Struct mt_dom::patch::RemoveAttributes
Remove attributes that the old node had that the new node doesn't
Fields
tag: &'a TAG
the tag of the node to be remove this is only used for verifying that we are patching the correct node
node_idx: NodeIdx
index of the node we are going to patch relative to the application root node
attrs: Vec<&'a Attribute<NS, ATT, VAL, EVENT, MSG>>
attributes that are to be removed from this target node
Implementations
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
[src]
pub fn new(
tag: &'a TAG,
node_idx: NodeIdx,
attrs: Vec<&'a Attribute<NS, ATT, VAL, EVENT, MSG>>
) -> Self
[src]
tag: &'a TAG,
node_idx: NodeIdx,
attrs: Vec<&'a Attribute<NS, ATT, VAL, EVENT, MSG>>
) -> Self
Add attributes that the new node has that the old node does not Note: the attributes is not a reference since attributes of same name are merged to produce a new unify attribute
Trait Implementations
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> Debug for RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG> where
NS: Debug,
TAG: Debug,
ATT: Debug,
VAL: Debug,
[src]
NS: Debug,
TAG: Debug,
ATT: Debug,
VAL: Debug,
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> From<RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>> for Patch<'a, NS, TAG, ATT, VAL, EVENT, MSG>
[src]
fn from(rt: RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>) -> Self
[src]
impl<'a, NS: PartialEq, TAG: PartialEq, ATT: PartialEq, VAL: PartialEq, EVENT: PartialEq, MSG: PartialEq> PartialEq<RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>> for RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
[src]
fn eq(
&self,
other: &RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> bool
[src]
&self,
other: &RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> bool
fn ne(
&self,
other: &RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> bool
[src]
&self,
other: &RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> bool
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> StructuralPartialEq for RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
[src]
Auto Trait Implementations
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !RefUnwindSafe for RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !Send for RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !Sync for RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> Unpin for RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !UnwindSafe for RemoveAttributes<'a, NS, TAG, ATT, VAL, EVENT, MSG>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,