pub struct EffectLayerProps {
pub layout: LayoutStyle,
pub mode: EffectMode,
pub chain: EffectChain,
pub quality: EffectQuality,
}Expand description
Scoped post-processing effect wrapper for declarative element subtrees (ADR 0117).
This emits a SceneOp::PushEffect/PopEffect pair around the subtree during painting. The
effect’s computation bounds are the wrapper’s final layout bounds.
Fields§
§layout: LayoutStyle§mode: EffectMode§chain: EffectChain§quality: EffectQualityTrait Implementations§
Source§impl Clone for EffectLayerProps
impl Clone for EffectLayerProps
Source§fn clone(&self) -> EffectLayerProps
fn clone(&self) -> EffectLayerProps
Returns a duplicate of the value. Read more
1.0.0 · 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 EffectLayerProps
impl Debug for EffectLayerProps
Source§impl Default for EffectLayerProps
impl Default for EffectLayerProps
impl Copy for EffectLayerProps
Auto Trait Implementations§
impl Freeze for EffectLayerProps
impl RefUnwindSafe for EffectLayerProps
impl Send for EffectLayerProps
impl Sync for EffectLayerProps
impl Unpin for EffectLayerProps
impl UnsafeUnpin for EffectLayerProps
impl UnwindSafe for EffectLayerProps
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