[][src]Enum azul_webrender::InvalidationReason

pub enum InvalidationReason {
    FractionalOffset {
        old: PictureVector2D,
        new: PictureVector2D,
    },
    BackgroundColor {
        old: Option<ColorF>,
        new: Option<ColorF>,
    },
    SurfaceOpacityChanged {
        became_opaque: bool,
    },
    NoTexture,
    NoSurface,
    PrimCount {
        old: Option<Vec<ItemUid>>,
        new: Option<Vec<ItemUid>>,
    },
    Content {
        prim_compare_result: PrimitiveCompareResult,
        prim_compare_result_detail: Option<PrimitiveCompareResultDetail>,
    },
    CompositorKindChanged,
    ValidRectChanged,
}

Debugging information about why a tile was invalidated

Variants

FractionalOffset

The fractional offset changed

Fields of FractionalOffset

old: PictureVector2Dnew: PictureVector2D
BackgroundColor

The background color changed

Fields of BackgroundColor

old: Option<ColorF>new: Option<ColorF>
SurfaceOpacityChanged

The opaque state of the backing native surface changed

Fields of SurfaceOpacityChanged

became_opaque: bool
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

Fields of PrimCount

old: Option<Vec<ItemUid>>new: Option<Vec<ItemUid>>
Content

The content of one of the primitives was different

Fields of Content

prim_compare_result: PrimitiveCompareResult

What changed in the primitive that was different

prim_compare_result_detail: Option<PrimitiveCompareResultDetail>
CompositorKindChanged
ValidRectChanged

Trait Implementations

impl Clone for InvalidationReason[src]

impl Debug for InvalidationReason[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.