swayipc_command_builder/commands/title_align.rs
1use super::*;
2
3impl Command<TitleAlign> {
4 pub fn left(self) -> Command<Valid> {
5 self.push_str("left").transmute()
6 }
7
8 pub fn center(self) -> Command<Valid> {
9 self.push_str("center").transmute()
10 }
11
12 pub fn right(self) -> Command<Valid> {
13 self.push_str("right").transmute()
14 }
15}