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