Struct comfy_wgpu::egui::epaint::RectShape
pub struct RectShape {
pub rect: Rect,
pub rounding: Rounding,
pub fill: Color32,
pub stroke: Stroke,
}Expand description
How to paint a rectangle.
Fields§
§rect: Rect§rounding: RoundingHow rounded the corners are. Use Rounding::none() for no rounding.
fill: Color32How to fill the rectangle.
stroke: StrokeThe thickness and color of the outline.
Implementations§
Trait Implementations§
impl Copy for RectShape
impl StructuralPartialEq for RectShape
Auto Trait Implementations§
impl RefUnwindSafe for RectShape
impl Send for RectShape
impl Sync for RectShape
impl Unpin for RectShape
impl UnwindSafe for RectShape
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