Struct style::matching::StyleDifference
source · pub struct StyleDifference {
pub damage: RestyleDamage,
pub change: StyleChange,
}
Expand description
Represents the result of comparing an element’s old and new style.
Fields§
§damage: RestyleDamage
The resulting damage.
change: StyleChange
Whether any styles changed.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StyleDifference
impl Send for StyleDifference
impl Sync for StyleDifference
impl Unpin for StyleDifference
impl UnwindSafe for StyleDifference
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
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert