swayipc-command-builder 0.1.0

A library for building commands that can be executed by swayipc
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;

impl Command<MouseWraping> {
    pub fn off(self) -> Command<Valid> {
        self.push_str("off").transmute()
    }

    pub fn msec(self, msec: usize) -> Command<Valid> {
        self.push_str(msec.to_string()).transmute()
    }
}