pub struct EncodedBlurredRoundedRectangle {}
Expand description
An encoded blurred, rounded rectangle.
Fields§
§exponent: f32
An component for computing the blur effect.
recip_exponent: f32
An component for computing the blur effect.
scale: f32
An component for computing the blur effect.
std_dev_inv: f32
An component for computing the blur effect.
min_edge: f32
An component for computing the blur effect.
w: f32
An component for computing the blur effect.
h: f32
An component for computing the blur effect.
width: f32
An component for computing the blur effect.
height: f32
An component for computing the blur effect.
r1: f32
An component for computing the blur effect.
color: PremulColor
The base color for the blurred rectangle.
transform: Affine
A transform that needs to be applied to the position of the first processed pixel.
x_advance: Vec2
How much to advance into the x/y direction for one step in the x direction.
y_advance: Vec2
How much to advance into the x/y direction for one step in the y direction.
Trait Implementations§
Source§impl From<EncodedBlurredRoundedRectangle> for EncodedPaint
impl From<EncodedBlurredRoundedRectangle> for EncodedPaint
Source§fn from(value: EncodedBlurredRoundedRectangle) -> Self
fn from(value: EncodedBlurredRoundedRectangle) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncodedBlurredRoundedRectangle
impl RefUnwindSafe for EncodedBlurredRoundedRectangle
impl Send for EncodedBlurredRoundedRectangle
impl Sync for EncodedBlurredRoundedRectangle
impl Unpin for EncodedBlurredRoundedRectangle
impl UnwindSafe for EncodedBlurredRoundedRectangle
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