#[non_exhaustive]pub enum UnservableReason {
RetainedComposite,
RetainedRecording,
RetainedBracketCrossing,
SceneTexture,
BackdropBlur,
}Expand description
Why a cut’s range cannot be drawn on an overlay and stays on the main
surface — CutServiceability::Unservable’s reason.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RetainedComposite
A DrawRetained: the page lives in the main surface’s retained store,
which the overlay’s engine cannot read.
RetainedRecording
A PushRetained bracket inside the range: painted inline on the
overlay, it would never record the page the main surface’s store then
keeps advertising, and the same content would move between surfaces
as the widget turns clean (drawn from its page) and dirty again.
RetainedBracketCrossing
A retained bracket open across one of the range’s ends: the projection would demote it to inline paint on both sides of the cut.
SceneTexture
A SceneTexture: external textures are bound in the main renderer’s
registry only.
BackdropBlur
A BackdropBlur: it reads back what is painted beneath it, which an
overlay’s swapchain does not hold.
Trait Implementations§
Source§impl Clone for UnservableReason
impl Clone for UnservableReason
impl Copy for UnservableReason
Source§impl Debug for UnservableReason
impl Debug for UnservableReason
Source§impl Display for UnservableReason
impl Display for UnservableReason
impl Eq for UnservableReason
Source§impl PartialEq for UnservableReason
impl PartialEq for UnservableReason
impl StructuralPartialEq for UnservableReason
Auto Trait Implementations§
impl Freeze for UnservableReason
impl RefUnwindSafe for UnservableReason
impl Send for UnservableReason
impl Sync for UnservableReason
impl Unpin for UnservableReason
impl UnsafeUnpin for UnservableReason
impl UnwindSafe for UnservableReason
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.