#[repr(C)]pub struct DrawBlurRoundedRect {
pub color: DrawColor,
pub width: f32,
pub height: f32,
pub radius: f32,
pub std_dev: f32,
}Expand description
Draw data for a blurred rounded rectangle.
Fields§
§color: DrawColorSolid color brush.
width: f32Rectangle width.
height: f32Rectangle height.
radius: f32Rectangle corner radius.
std_dev: f32Standard deviation of gaussian filter.
Trait Implementations§
Source§impl Clone for DrawBlurRoundedRect
impl Clone for DrawBlurRoundedRect
impl Copy for DrawBlurRoundedRect
Source§impl Debug for DrawBlurRoundedRect
impl Debug for DrawBlurRoundedRect
Source§impl Default for DrawBlurRoundedRect
impl Default for DrawBlurRoundedRect
impl Pod for DrawBlurRoundedRect
Auto Trait Implementations§
impl Forget for DrawBlurRoundedRect
impl Freeze for DrawBlurRoundedRect
impl Move for DrawBlurRoundedRect
impl RefUnwindSafe for DrawBlurRoundedRect
impl Send for DrawBlurRoundedRect
impl Sync for DrawBlurRoundedRect
impl Unpin for DrawBlurRoundedRect
impl UnsafeUnpin for DrawBlurRoundedRect
impl UnwindSafe for DrawBlurRoundedRect
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.