Function iced::border::width

source ยท
pub fn width(width: impl Into<Pixels>) -> Border
Expand description

Creates a new Border with the given width.

assert_eq!(border::width(10), Border::default().width(10));