pub struct AttributeDiff {
pub to_add: Attributes,
pub to_remove: Attributes,
}Expand description
The change in attributes. Use Attributes::diff to create one.
Fields§
§to_add: Attributes§to_remove: AttributesTrait Implementations§
Source§impl Clone for AttributeDiff
impl Clone for AttributeDiff
Source§fn clone(&self) -> AttributeDiff
fn clone(&self) -> AttributeDiff
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributeDiff
impl Debug for AttributeDiff
Source§impl Hash for AttributeDiff
impl Hash for AttributeDiff
Source§impl PartialEq for AttributeDiff
impl PartialEq for AttributeDiff
impl Copy for AttributeDiff
impl Eq for AttributeDiff
impl StructuralPartialEq for AttributeDiff
Auto Trait Implementations§
impl Freeze for AttributeDiff
impl RefUnwindSafe for AttributeDiff
impl Send for AttributeDiff
impl Sync for AttributeDiff
impl Unpin for AttributeDiff
impl UnwindSafe for AttributeDiff
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