#[non_exhaustive]pub enum GpuFallback {
UnsupportedBlendMode(BlendMode),
UnsupportedCompositeOp(CompositeOp),
UnsupportedEffect,
}Expand description
Why a frame cannot composite on the GPU and falls back to the CPU compositor.
#[non_exhaustive]: more reasons appear as coverage changes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnsupportedBlendMode(BlendMode)
A blend mode with no ff-render equivalent.
UnsupportedCompositeOp(CompositeOp)
A composite operator other than Over.
UnsupportedEffect
An effect step with no GPU node.
Trait Implementations§
Source§impl Clone for GpuFallback
impl Clone for GpuFallback
Source§fn clone(&self) -> GpuFallback
fn clone(&self) -> GpuFallback
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GpuFallback
impl Debug for GpuFallback
Source§impl PartialEq for GpuFallback
impl PartialEq for GpuFallback
impl StructuralPartialEq for GpuFallback
Auto Trait Implementations§
impl Freeze for GpuFallback
impl RefUnwindSafe for GpuFallback
impl Send for GpuFallback
impl Sync for GpuFallback
impl Unpin for GpuFallback
impl UnsafeUnpin for GpuFallback
impl UnwindSafe for GpuFallback
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