pub enum BoxShape {
Rectangle,
Circle,
}Expand description
The shape a box decoration paints — the reference’s BoxShape
(box_border.dart:26).
Variants§
Rectangle
A rectangle, its corners rounded by the decoration’s radius.
Circle
A circle, centred in the box, as wide as the box’s shorter side. The decoration’s radius means nothing to it.
Trait Implementations§
impl Copy for BoxShape
impl Eq for BoxShape
impl StructuralPartialEq for BoxShape
Auto Trait Implementations§
impl Freeze for BoxShape
impl RefUnwindSafe for BoxShape
impl Send for BoxShape
impl Sync for BoxShape
impl Unpin for BoxShape
impl UnsafeUnpin for BoxShape
impl UnwindSafe for BoxShape
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