1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19

#[derive(Clone, Copy, Debug, Default)]
pub struct Thickness {
    pub left: i32,
    pub top: i32,
    pub right: i32,
    pub bottom: i32,
}

impl Thickness {
    pub fn new(left: i32, top: i32, right: i32, bottom: i32) -> Self {
        Thickness {
            left,
            top,
            right,
            bottom,
        }
    }
}