pub struct QuadPaint {
pub fill: Brush,
pub corner_radius: f32,
pub border: Option<Border>,
pub shadow: Option<Shadow>,
}Expand description
A rounded rectangle painted behind an element’s children.
Fields§
§fill: BrushFill color or gradient.
corner_radius: f32Corner radius in logical pixels.
border: Option<Border>Optional border stroke.
shadow: Option<Shadow>Optional drop shadow.
Implementations§
Trait Implementations§
impl Copy for QuadPaint
impl StructuralPartialEq for QuadPaint
Auto Trait Implementations§
impl Freeze for QuadPaint
impl RefUnwindSafe for QuadPaint
impl Send for QuadPaint
impl Sync for QuadPaint
impl Unpin for QuadPaint
impl UnsafeUnpin for QuadPaint
impl UnwindSafe for QuadPaint
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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