im-switch 0.1.0

A cross-platform input method switcher — Rust crate + CLI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::ImSwitchError;

pub fn get_input_method() -> Result<String, ImSwitchError> {
    Err(ImSwitchError::UnsupportedPlatform)
}

pub fn set_input_method(_im: &str) -> Result<(), ImSwitchError> {
    Err(ImSwitchError::UnsupportedPlatform)
}

pub fn list_input_methods() -> Result<Vec<String>, ImSwitchError> {
    Err(ImSwitchError::UnsupportedPlatform)
}