Enum webrender::InvalidationReason
source · pub enum InvalidationReason {
BackgroundColor,
SurfaceOpacityChanged,
NoTexture,
NoSurface,
PrimCount,
Content,
CompositorKindChanged,
ValidRectChanged,
ScaleChanged,
SurfaceContentChanged,
}
Expand description
Debugging information about why a tile was invalidated
Variants§
BackgroundColor
The background color changed
SurfaceOpacityChanged
The opaque state of the backing native surface changed
NoTexture
There was no backing texture (evicted or never rendered)
NoSurface
There was no backing native surface (never rendered, or recreated)
PrimCount
The primitive count in the dependency list was different
Content
The content of one of the primitives was different
CompositorKindChanged
ValidRectChanged
ScaleChanged
SurfaceContentChanged
Trait Implementations§
source§impl Clone for InvalidationReason
impl Clone for InvalidationReason
source§fn clone(&self) -> InvalidationReason
fn clone(&self) -> InvalidationReason
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InvalidationReason
impl Debug for InvalidationReason
Auto Trait Implementations§
impl Freeze for InvalidationReason
impl RefUnwindSafe for InvalidationReason
impl Send for InvalidationReason
impl Sync for InvalidationReason
impl Unpin for InvalidationReason
impl UnwindSafe for InvalidationReason
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 more