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
impl Copy for AttributeDiff
Source§impl Debug for AttributeDiff
impl Debug for AttributeDiff
impl Eq for AttributeDiff
Source§impl Hash for AttributeDiff
impl Hash for AttributeDiff
Source§impl PartialEq for AttributeDiff
impl PartialEq 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 UnsafeUnpin 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