pub enum FillShape {
Rect(Rect),
RoundRect {
rect: Rect,
radius: f32,
},
Circle {
center: Point,
radius: f32,
},
Ellipse {
center: Point,
radius_x: f32,
radius_y: f32,
},
}Variants§
Trait Implementations§
impl Copy for FillShape
impl StructuralPartialEq for FillShape
Auto Trait Implementations§
impl Freeze for FillShape
impl RefUnwindSafe for FillShape
impl Send for FillShape
impl Sync for FillShape
impl Unpin for FillShape
impl UnsafeUnpin for FillShape
impl UnwindSafe for FillShape
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