pub fn width(width: impl Into<Pixels>) -> Border
Creates a new Border with the given width.
Border
width
assert_eq!(border::width(10), Border::default().width(10));