pub struct BackdropGroup {
pub key: u64,
pub union_bounds: Rect,
pub sigma: Option<f32>,
}Expand description
BackdropGroup summarizes regions sharing one backdrop-blur key.
Fields§
§key: u64key identifies the shared backdrop group.
union_bounds: Rectunion_bounds encloses every region in the group.
sigma: Option<f32>sigma is the shared blur radius when every region agrees.
It is None when regions with this key use different radii and cannot
share one blur result.
Trait Implementations§
Source§impl Clone for BackdropGroup
impl Clone for BackdropGroup
Source§fn clone(&self) -> BackdropGroup
fn clone(&self) -> BackdropGroup
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 moreimpl Copy for BackdropGroup
Auto Trait Implementations§
impl Freeze for BackdropGroup
impl RefUnwindSafe for BackdropGroup
impl Send for BackdropGroup
impl Sync for BackdropGroup
impl Unpin for BackdropGroup
impl UnsafeUnpin for BackdropGroup
impl UnwindSafe for BackdropGroup
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