swayipc_command_builder/commands/
hide_edge_borders.rs

1use super::*;
2
3//TODO: i3 compat
4
5impl Command<HideEdgeBorders> {
6    pub fn none(self) -> Command<Valid> {
7        self.push_str("none").transmute()
8    }
9
10    pub fn vertical(self) -> Command<Valid> {
11        self.push_str("vertical").transmute()
12    }
13
14    pub fn horizontal(self) -> Command<Valid> {
15        self.push_str("horizontal").transmute()
16    }
17
18    pub fn both(self) -> Command<Valid> {
19        self.push_str("both").transmute()
20    }
21
22    pub fn smart(self) -> Command<Valid> {
23        self.push_str("smart").transmute()
24    }
25
26    pub fn smart_no_gaps(self) -> Command<Valid> {
27        self.push_str("smart_no_gaps").transmute()
28    }
29}