swayipc_command_builder/commands/
split.rs1use super::*;
2
3impl Command<Split> {
4 pub fn vertical(self) -> Command<Valid> {
5 self.push_char('v').transmute()
6 }
7
8 pub fn horizontal(self) -> Command<Valid> {
9 self.push_char('h').transmute()
10 }
11
12 pub fn toggle(self) -> Command<Valid> {
13 self.push_char('t').transmute()
14 }
15}