pub struct Border {
pub color: Color,
pub corner_radii: CornerRadii,
pub width: BorderWidth,
}Expand description
Represents a border with a specified color, width, and corner radii.
Fields§
§color: ColorThe border color.
corner_radii: CornerRadiiThe corner radii for rounded border edges.
width: BorderWidthThe width of the border on each side.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnsafeUnpin 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