hex_patch/app/plugins/ui_location/
rect_borders.rs1#[derive(Clone, Copy, Debug)]
2pub struct RectBorders {
3 pub top: bool,
4 pub bottom: bool,
5 pub left: bool,
6 pub right: bool,
7}
8
9impl RectBorders {
10 pub fn any(&self) -> bool {
11 self.top || self.bottom || self.left || self.right
12 }
13}