pub enum Shape {
Square,
Round(Radius, Resolution),
Bevel(Radius),
}
Expand description
The shape of the rectangle corners
Variants§
Square
Square corners
Round(Radius, Resolution)
Round corners, with resolution per corner.
Bevel(Radius)
Bevel corners
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnwindSafe for Shape
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