Struct requestty_ui::style::AttributeDiff
source · [−]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: Attributesto_remove: AttributesTrait Implementations
sourceimpl Clone for AttributeDiff
impl Clone for AttributeDiff
sourcefn clone(&self) -> AttributeDiff
fn clone(&self) -> AttributeDiff
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AttributeDiff
impl Debug for AttributeDiff
sourceimpl Hash for AttributeDiff
impl Hash for AttributeDiff
sourceimpl PartialEq<AttributeDiff> for AttributeDiff
impl PartialEq<AttributeDiff> for AttributeDiff
sourcefn eq(&self, other: &AttributeDiff) -> bool
fn eq(&self, other: &AttributeDiff) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AttributeDiff) -> bool
fn ne(&self, other: &AttributeDiff) -> bool
This method tests for !=.
impl Copy for AttributeDiff
impl Eq for AttributeDiff
impl StructuralEq for AttributeDiff
impl StructuralPartialEq for AttributeDiff
Auto Trait Implementations
impl RefUnwindSafe for AttributeDiff
impl Send for AttributeDiff
impl Sync for AttributeDiff
impl Unpin for AttributeDiff
impl UnwindSafe for AttributeDiff
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more