Struct mt_dom::patch::RemoveAttributes [−][src]
pub struct RemoveAttributes<'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 attrs: Vec<&'a Attribute<NS, ATT, VAL>>, }
Expand description
A patch where a remove attributes of the target element that can be traversed by using the patch_path.
Fields
tag: &'a TAG
The tag of the node we are removing the attributes from. This is only used for additional check that we are patching the correct node
patch_path: TreePath
the path to traverse to get to the target lement of which we remove the attributes
attrs: Vec<&'a Attribute<NS, ATT, VAL>>
attributes that are to be removed from this target node
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 RemoveAttributes<'a, NS, TAG, ATT, VAL> where
ATT: RefUnwindSafe,
NS: RefUnwindSafe,
TAG: RefUnwindSafe,
VAL: RefUnwindSafe,
impl<'a, NS, TAG, ATT, VAL> Send for RemoveAttributes<'a, NS, TAG, ATT, VAL> where
ATT: Sync,
NS: Sync,
TAG: Sync,
VAL: Sync,
impl<'a, NS, TAG, ATT, VAL> Sync for RemoveAttributes<'a, NS, TAG, ATT, VAL> where
ATT: Sync,
NS: Sync,
TAG: Sync,
VAL: Sync,
impl<'a, NS, TAG, ATT, VAL> Unpin for RemoveAttributes<'a, NS, TAG, ATT, VAL>
impl<'a, NS, TAG, ATT, VAL> UnwindSafe for RemoveAttributes<'a, NS, TAG, ATT, VAL> where
ATT: RefUnwindSafe,
NS: RefUnwindSafe,
TAG: RefUnwindSafe,
VAL: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more