pub enum AttributeChange {
Update(NameId, String),
Delete(NameId),
Insert(NameId, String),
}Expand description
Describe how a element node’s attributes should be updated.
Variants§
Update(NameId, String)
Update an attribute with a new value.
Delete(NameId)
Delete an attribute.
Insert(NameId, String)
Insert an attribute.
Trait Implementations§
Source§impl Debug for AttributeChange
impl Debug for AttributeChange
Source§impl PartialEq for AttributeChange
impl PartialEq for AttributeChange
impl Eq for AttributeChange
impl StructuralPartialEq for AttributeChange
Auto Trait Implementations§
impl Freeze for AttributeChange
impl RefUnwindSafe for AttributeChange
impl Send for AttributeChange
impl Sync for AttributeChange
impl Unpin for AttributeChange
impl UnwindSafe for AttributeChange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more