pub struct BackdropCacheKey {
pub viewport: Size<DevicePixels>,
pub origin: [u32; 2],
pub size: [u32; 2],
pub filter: [[[f32; 4]; 6]; 2],
pub revision: Arc<[(u64, DrawOrder)]>,
pub reusable: bool,
}Expand description
Exact scene dependencies for a retained backdrop result.
Fields§
§viewport: Size<DevicePixels>Viewport changes invalidate even when the crop is unchanged.
origin: [u32; 2]Full-resolution crop origin and extent.
size: [u32; 2]Full-resolution crop extent.
filter: [[[f32; 4]; 6]; 2]Filter parameters; composition-only properties are deliberately excluded.
revision: Arc<[(u64, DrawOrder)]>Exact immutable identities and draw orders of all preceding paint commands.
reusable: boolExternal content and oversized prefixes must refresh every frame.
Trait Implementations§
Source§impl Clone for BackdropCacheKey
impl Clone for BackdropCacheKey
Source§impl Debug for BackdropCacheKey
impl Debug for BackdropCacheKey
Source§impl PartialEq for BackdropCacheKey
impl PartialEq for BackdropCacheKey
impl StructuralPartialEq for BackdropCacheKey
Auto Trait Implementations§
impl Freeze for BackdropCacheKey
impl RefUnwindSafe for BackdropCacheKey
impl Send for BackdropCacheKey
impl Sync for BackdropCacheKey
impl Unpin for BackdropCacheKey
impl UnsafeUnpin for BackdropCacheKey
impl UnwindSafe for BackdropCacheKey
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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