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§
Source§impl From<Clay_BorderRenderData> for Border
impl From<Clay_BorderRenderData> for Border
Source§fn from(value: Clay_BorderRenderData) -> Self
fn from(value: Clay_BorderRenderData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Border
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