ts3 0.3.0

A TeamSpeak3 Query library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[macro_export]
macro_rules! make_command {
    ($name:literal) => {
        $name.to_owned()
    };
    ($name:literal, $($id:literal, $val:expr),*) => {
        let mut string = String::from($name);
        $(
            string.push_str($id);
            string.push('=');
            string.push($val.fmt());
            string.push(' ');
        )*
    };
}