pub struct Border {
pub color: Color,
pub radius: Radius,
}
Expand description
The border of the rectangle
Fields§
§color: Color
The color of the border
radius: Radius
The radius of the border. The half-width of the line by which border is drawn.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnwindSafe for Border
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