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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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
Source§fn eq(&self, other: &AttributeDiff) -> bool
fn eq(&self, other: &AttributeDiff) -> bool
Tests for
self and other values to be equal, and is used by ==.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