pub struct IsolationReasons {
pub explicit_offscreen: bool,
pub shape_clip: bool,
pub effect: bool,
pub backdrop: bool,
pub group_opacity: bool,
pub blend_mode: bool,
}Expand description
Reasons a layer is drawn into its own offscreen buffer instead of directly into its parent.
Fields§
§explicit_offscreen: boolThe layer asked for offscreen compositing.
shape_clip: boolThe layer clips to a shape that is not a rectangle.
effect: boolThe layer applies a render effect to its content.
backdrop: boolThe layer applies an effect to what lies behind it.
group_opacity: boolThe layer’s alpha is below one and must apply to its content as a group.
blend_mode: boolThe layer uses a blend mode other than source-over.
Implementations§
Trait Implementations§
Source§impl Clone for IsolationReasons
impl Clone for IsolationReasons
impl Copy for IsolationReasons
Source§impl Debug for IsolationReasons
impl Debug for IsolationReasons
Source§impl Default for IsolationReasons
impl Default for IsolationReasons
impl Eq for IsolationReasons
Source§impl PartialEq for IsolationReasons
impl PartialEq for IsolationReasons
impl StructuralPartialEq for IsolationReasons
Auto Trait Implementations§
impl Freeze for IsolationReasons
impl RefUnwindSafe for IsolationReasons
impl Send for IsolationReasons
impl Sync for IsolationReasons
impl Unpin for IsolationReasons
impl UnsafeUnpin for IsolationReasons
impl UnwindSafe for IsolationReasons
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