Struct style::invalidation::element::invalidator::InvalidationResult
source · pub struct InvalidationResult {
invalidated_self: bool,
invalidated_descendants: bool,
invalidated_siblings: bool,
}
Expand description
The result of a whole invalidation process for a given element.
Fields§
§invalidated_self: bool
Whether the element itself was invalidated.
invalidated_descendants: bool
Whether the element’s descendants were invalidated.
invalidated_siblings: bool
Whether the element’s siblings were invalidated.
Implementations§
source§impl InvalidationResult
impl InvalidationResult
sourcepub fn has_invalidated_self(&self) -> bool
pub fn has_invalidated_self(&self) -> bool
Whether the invalidation has invalidate the element itself.
sourcepub fn has_invalidated_descendants(&self) -> bool
pub fn has_invalidated_descendants(&self) -> bool
Whether the invalidation has invalidate desendants.
sourcepub fn has_invalidated_siblings(&self) -> bool
pub fn has_invalidated_siblings(&self) -> bool
Whether the invalidation has invalidate siblings.
Auto Trait Implementations§
impl Freeze for InvalidationResult
impl RefUnwindSafe for InvalidationResult
impl Send for InvalidationResult
impl Sync for InvalidationResult
impl Unpin for InvalidationResult
impl UnwindSafe for InvalidationResult
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
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