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: boolWhether the element itself was invalidated.
invalidated_descendants: boolWhether the element’s descendants were invalidated.
invalidated_siblings: boolWhether 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